aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-namestore-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/gnunet-namestore-gtk.c')
-rw-r--r--src/namestore/gnunet-namestore-gtk.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/namestore/gnunet-namestore-gtk.c b/src/namestore/gnunet-namestore-gtk.c
index c1a62304..04145ac2 100644
--- a/src/namestore/gnunet-namestore-gtk.c
+++ b/src/namestore/gnunet-namestore-gtk.c
@@ -2747,8 +2747,6 @@ run (void *cls,
2747 2747
2748 ml = cls; 2748 ml = cls;
2749 cfg = GNUNET_GTK_main_loop_get_configuration (ml); 2749 cfg = GNUNET_GTK_main_loop_get_configuration (ml);
2750 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
2751 &cleanup_task, NULL);
2752 if (GNUNET_OK != 2750 if (GNUNET_OK !=
2753 GNUNET_CONFIGURATION_get_value_time (cfg, 2751 GNUNET_CONFIGURATION_get_value_time (cfg,
2754 "gnunet-namestore-gtk", 2752 "gnunet-namestore-gtk",
@@ -2763,10 +2761,7 @@ run (void *cls,
2763 } 2761 }
2764 if (GNUNET_OK != 2762 if (GNUNET_OK !=
2765 GNUNET_GTK_main_loop_build_window (ml, NULL)) 2763 GNUNET_GTK_main_loop_build_window (ml, NULL))
2766 {
2767 GNUNET_SCHEDULER_shutdown ();
2768 return; 2764 return;
2769 }
2770 GNUNET_GTK_set_icon_search_path (); 2765 GNUNET_GTK_set_icon_search_path ();
2771 GNUNET_GTK_setup_nls (); 2766 GNUNET_GTK_setup_nls ();
2772 2767
@@ -2793,6 +2788,8 @@ run (void *cls,
2793 NULL); 2788 NULL);
2794 gtk_widget_show (main_window); 2789 gtk_widget_show (main_window);
2795 gtk_window_present (GTK_WINDOW (main_window)); 2790 gtk_window_present (GTK_WINDOW (main_window));
2791 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
2792 &cleanup_task, NULL);
2796} 2793}
2797 2794
2798 2795