mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
afffcdbc0d
commit
425649a278
2 changed files with 2 additions and 1 deletions
2
main.c
2
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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue