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>
This commit is contained in:
Linus Torvalds 2011-09-12 09:49:54 -07:00
parent afffcdbc0d
commit 425649a278
2 changed files with 2 additions and 1 deletions

View file

@ -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);