diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-12 09:49:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-12 09:49:54 -0700 |
commit | 425649a27816dbef9a6684b1da53e2ca6d8b7bd9 (patch) | |
tree | 5e982a2e372977971c02e0b4a0bfec4ca0066102 /main.c | |
parent | afffcdbc0d6402e3dfee421f86938b98e12fb550 (diff) | |
download | subsurface-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 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |