diff options
Diffstat (limited to 'src/conversation')
-rw-r--r-- | src/conversation/gnunet-conversation-gtk.c | 5 | ||||
-rw-r--r-- | src/conversation/gnunet-conversation-gtk_import.c | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/src/conversation/gnunet-conversation-gtk.c b/src/conversation/gnunet-conversation-gtk.c index 82b472a4..c091f7fb 100644 --- a/src/conversation/gnunet-conversation-gtk.c +++ b/src/conversation/gnunet-conversation-gtk.c | |||
@@ -191,9 +191,8 @@ run (void *cls, | |||
191 | gtk_widget_show (main_window); | 191 | gtk_widget_show (main_window); |
192 | gtk_window_present (GTK_WINDOW (main_window)); | 192 | gtk_window_present (GTK_WINDOW (main_window)); |
193 | } | 193 | } |
194 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, | 194 | GNUNET_SCHEDULER_add_shutdown (&shutdown_task, |
195 | &shutdown_task, | 195 | NULL); |
196 | NULL); | ||
197 | if (NULL == ego_name) | 196 | if (NULL == ego_name) |
198 | ego_name = GNUNET_strdup ("master-zone"); | 197 | ego_name = GNUNET_strdup ("master-zone"); |
199 | GCG_HISTORY_init (); | 198 | GCG_HISTORY_init (); |
diff --git a/src/conversation/gnunet-conversation-gtk_import.c b/src/conversation/gnunet-conversation-gtk_import.c index 8bc5050d..e8e1eede 100644 --- a/src/conversation/gnunet-conversation-gtk_import.c +++ b/src/conversation/gnunet-conversation-gtk_import.c | |||
@@ -317,11 +317,9 @@ GSC_add_phone (const gchar *label, | |||
317 | * Asynchronously disconnect from the namestore. | 317 | * Asynchronously disconnect from the namestore. |
318 | * | 318 | * |
319 | * @param cls closure (NULL) | 319 | * @param cls closure (NULL) |
320 | * @param tc scheduler context | ||
321 | */ | 320 | */ |
322 | static void | 321 | static void |
323 | async_disconnect (void *cls, | 322 | async_disconnect (void *cls) |
324 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
325 | { | 323 | { |
326 | if (NULL != ns) | 324 | if (NULL != ns) |
327 | { | 325 | { |