summaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-12 09:49:54 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-12 09:49:54 -0700
commit425649a27816dbef9a6684b1da53e2ca6d8b7bd9 (patch)
tree5e982a2e372977971c02e0b4a0bfec4ca0066102 /display.h
parentafffcdbc0d6402e3dfee421f86938b98e12fb550 (diff)
downloadsubsurface-425649a27816dbef9a6684b1da53e2ca6d8b7bd9.tar.gz
Make 'report_error()' usable from outside of main.c
The dive computer import code will want to show errors too.. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'display.h')
-rw-r--r--display.h1
1 files changed, 1 insertions, 0 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);