summaryrefslogtreecommitdiff
path: root/aoview/aoview_log.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-05-17 01:29:06 -0700
committerKeith Packard <keithp@keithp.com>2009-05-17 01:29:06 -0700
commit1234694eb903b204488ddc7cb30bcfe34bf1e677 (patch)
treebedd82fba6f84e7cdcc95a586184b37de5949a23 /aoview/aoview_log.c
parent4316b6af86b37522038e642235c163fcaad52e96 (diff)
Clear table, reset log on disconnect
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