aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/daemon/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/daemon/daemon.c')
-rw-r--r--src/plugins/daemon/daemon.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/daemon/daemon.c b/src/plugins/daemon/daemon.c
index 4b0d20e8..9bd47eee 100644
--- a/src/plugins/daemon/daemon.c
+++ b/src/plugins/daemon/daemon.c
@@ -97,6 +97,7 @@ updateAppModelSafe (void *unused)
97 gtk_tree_view_set_model (GTK_TREE_VIEW (w), GTK_TREE_MODEL (model)); 97 gtk_tree_view_set_model (GTK_TREE_VIEW (w), GTK_TREE_MODEL (model));
98 gtk_tree_selection_set_mode (gtk_tree_view_get_selection 98 gtk_tree_selection_set_mode (gtk_tree_view_get_selection
99 (GTK_TREE_VIEW (w)), GTK_SELECTION_NONE); 99 (GTK_TREE_VIEW (w)), GTK_SELECTION_NONE);
100 g_object_unref(model);
100 connection_destroy (sock); 101 connection_destroy (sock);
101 return NULL; 102 return NULL;
102} 103}
@@ -367,8 +368,13 @@ init_daemon (struct GE_Context *e, struct GC_Configuration *c)
367void 368void
368done_daemon () 369done_daemon ()
369{ 370{
371 GtkWidget *w;
372
370 cron_del_job (cron, &cronCheckDaemon, 15 * cronSECONDS, NULL); 373 cron_del_job (cron, &cronCheckDaemon, 15 * cronSECONDS, NULL);
371 cron_del_job (cron, &updateAppModel, 5 * cronMINUTES, NULL); 374 cron_del_job (cron, &updateAppModel, 5 * cronMINUTES, NULL);
375 w = glade_xml_get_widget (getMainXML (), "applicationList");
376 gtk_tree_view_set_model (GTK_TREE_VIEW (w), NULL);
377
372} 378}
373 379
374/** 380/**