gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r31678 - gnunet-gtk/src/namestore


From: gnunet
Subject: [GNUnet-SVN] r31678 - gnunet-gtk/src/namestore
Date: Sun, 22 Dec 2013 15:58:54 +0100

Author: grothoff
Date: 2013-12-22 15:58:54 +0100 (Sun, 22 Dec 2013)
New Revision: 31678

Modified:
   gnunet-gtk/src/namestore/gnunet-namestore-gtk.c
Log:
-fix embedding behavior

Modified: gnunet-gtk/src/namestore/gnunet-namestore-gtk.c
===================================================================
--- gnunet-gtk/src/namestore/gnunet-namestore-gtk.c     2013-12-22 14:31:00 UTC 
(rev 31677)
+++ gnunet-gtk/src/namestore/gnunet-namestore-gtk.c     2013-12-22 14:58:54 UTC 
(rev 31678)
@@ -2747,8 +2747,6 @@
 
   ml = cls;
   cfg = GNUNET_GTK_main_loop_get_configuration (ml);
-  GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
-                               &cleanup_task, NULL);
   if (GNUNET_OK !=
       GNUNET_CONFIGURATION_get_value_time (cfg,
                                            "gnunet-namestore-gtk",
@@ -2763,10 +2761,7 @@
   }
   if (GNUNET_OK !=
       GNUNET_GTK_main_loop_build_window (ml, NULL))
-  {
-    GNUNET_SCHEDULER_shutdown ();
     return;
-  }
   GNUNET_GTK_set_icon_search_path ();
   GNUNET_GTK_setup_nls ();
 
@@ -2793,6 +2788,8 @@
                                       NULL);
   gtk_widget_show (main_window);
   gtk_window_present (GTK_WINDOW (main_window));
+  GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
+                               &cleanup_task, NULL);
 }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]