summaryrefslogtreecommitdiff
path: root/aoview/aoview_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'aoview/aoview_log.c')
-rw-r--r--aoview/aoview_log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/aoview/aoview_log.c b/aoview/aoview_log.c
index 623c5aa6..a9300f61 100644
--- a/aoview/aoview_log.c
+++ b/aoview/aoview_log.c
@@ -52,7 +52,7 @@ aoview_log_configure(GtkWidget *widget, gpointer data)
gtk_widget_hide(GTK_WIDGET(chooser));
}
-static void
+void
aoview_log_new(void)
{
if (aoview_log_file) {
@@ -60,6 +60,7 @@ aoview_log_new(void)
aoview_log_file = NULL;
}
aoview_log_failed = 0;
+ aoview_state_new();
}
static void