summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--display.h1
-rw-r--r--main.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/display.h b/display.h
index 4b2e83b49..df701a3b9 100644
--- a/display.h
+++ b/display.h
@@ -8,6 +8,7 @@
extern GtkWidget *main_window;
extern void import_dialog(GtkWidget *, gpointer);
+extern void report_error(GError* error);
extern GtkWidget *dive_profile_widget(void);
extern GtkWidget *dive_info_frame(void);
diff --git a/main.c b/main.c
index ab2948e46..23570828e 100644
--- a/main.c
+++ b/main.c
@@ -124,7 +124,7 @@ static void on_info_bar_response(GtkWidget *widget, gint response,
}
}
-static void report_error(GError* error)
+void report_error(GError* error)
{
if (error == NULL)
{