diff options
Diffstat (limited to 'src/plugins/daemon/daemon.c')
-rw-r--r-- | src/plugins/daemon/daemon.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/daemon/daemon.c b/src/plugins/daemon/daemon.c index 4f7737dc..9d89b4c9 100644 --- a/src/plugins/daemon/daemon.c +++ b/src/plugins/daemon/daemon.c | |||
@@ -41,7 +41,7 @@ static struct GC_Configuration * cfg; | |||
41 | * cron job that periodically updates the model for the | 41 | * cron job that periodically updates the model for the |
42 | * application list. | 42 | * application list. |
43 | */ | 43 | */ |
44 | static void updateAppModelSafe(void * unused) { | 44 | static void * updateAppModelSafe(void * unused) { |
45 | struct ClientServerConnection * sock; | 45 | struct ClientServerConnection * sock; |
46 | GtkWidget * w; | 46 | GtkWidget * w; |
47 | GtkListStore * model; | 47 | GtkListStore * model; |
@@ -104,6 +104,7 @@ static void updateAppModelSafe(void * unused) { | |||
104 | gtk_tree_selection_set_mode(gtk_tree_view_get_selection(GTK_TREE_VIEW(w)), | 104 | gtk_tree_selection_set_mode(gtk_tree_view_get_selection(GTK_TREE_VIEW(w)), |
105 | GTK_SELECTION_NONE); | 105 | GTK_SELECTION_NONE); |
106 | connection_destroy(sock); | 106 | connection_destroy(sock); |
107 | return NULL; | ||
107 | } | 108 | } |
108 | 109 | ||
109 | static void updateAppModel(void * dummy) { | 110 | static void updateAppModel(void * dummy) { |
@@ -111,7 +112,7 @@ static void updateAppModel(void * dummy) { | |||
111 | } | 112 | } |
112 | 113 | ||
113 | 114 | ||
114 | static void doUpdateMenus(void * arg) { | 115 | static void * doUpdateMenus(void * arg) { |
115 | int ret = *(int*) arg; | 116 | int ret = *(int*) arg; |
116 | static GtkWidget * killEntry = NULL; | 117 | static GtkWidget * killEntry = NULL; |
117 | static GtkWidget * launchEntry = NULL; | 118 | static GtkWidget * launchEntry = NULL; |
@@ -158,6 +159,7 @@ static void doUpdateMenus(void * arg) { | |||
158 | gtk_widget_set_sensitive(killEntry, TRUE); | 159 | gtk_widget_set_sensitive(killEntry, TRUE); |
159 | gtk_widget_set_sensitive(launchEntry, FALSE); | 160 | gtk_widget_set_sensitive(launchEntry, FALSE); |
160 | } | 161 | } |
162 | return NULL; | ||
161 | } | 163 | } |
162 | 164 | ||
163 | static void cronCheckDaemon(void * dummy) { | 165 | static void cronCheckDaemon(void * dummy) { |