gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r20198 - in gnunet-gtk/src: peerinfo setup statistics


From: gnunet
Subject: [GNUnet-SVN] r20198 - in gnunet-gtk/src: peerinfo setup statistics
Date: Fri, 2 Mar 2012 12:45:09 +0100

Author: grothoff
Date: 2012-03-02 12:45:09 +0100 (Fri, 02 Mar 2012)
New Revision: 20198

Modified:
   gnunet-gtk/src/peerinfo/gnunet-peerinfo-gtk.c
   gnunet-gtk/src/setup/gnunet-setup.c
   gnunet-gtk/src/statistics/gnunet-statistics-gtk.c
Log:
-LRN: Adapt to new main window building

Modified: gnunet-gtk/src/peerinfo/gnunet-peerinfo-gtk.c
===================================================================
--- gnunet-gtk/src/peerinfo/gnunet-peerinfo-gtk.c       2012-03-02 11:44:11 UTC 
(rev 20197)
+++ gnunet-gtk/src/peerinfo/gnunet-peerinfo-gtk.c       2012-03-02 11:45:09 UTC 
(rev 20198)
@@ -373,6 +373,11 @@
 
   ml = cls;
 
+  if (GNUNET_OK != GNUNET_GTK_main_loop_build_window (ml, NULL))
+  {
+    return;
+  }
+
   GNUNET_GTK_set_icon_search_path ();
   GNUNET_GTK_setup_nls ();
   peer2info = GNUNET_CONTAINER_multihashmap_create (256);

Modified: gnunet-gtk/src/setup/gnunet-setup.c
===================================================================
--- gnunet-gtk/src/setup/gnunet-setup.c 2012-03-02 11:44:11 UTC (rev 20197)
+++ gnunet-gtk/src/setup/gnunet-setup.c 2012-03-02 11:45:09 UTC (rev 20198)
@@ -324,6 +324,12 @@
   GtkWidget *main_window;
 
   ml = cls;
+
+  if (GNUNET_OK != GNUNET_GTK_main_loop_build_window (ml, NULL))
+  {
+    return;
+  }
+
   cfgName = GNUNET_GTK_main_loop_get_configuration_file (ml);
   cfg = GNUNET_CONFIGURATION_create ();
   (void) GNUNET_CONFIGURATION_load (cfg, cfgName);

Modified: gnunet-gtk/src/statistics/gnunet-statistics-gtk.c
===================================================================
--- gnunet-gtk/src/statistics/gnunet-statistics-gtk.c   2012-03-02 11:44:11 UTC 
(rev 20197)
+++ gnunet-gtk/src/statistics/gnunet-statistics-gtk.c   2012-03-02 11:45:09 UTC 
(rev 20198)
@@ -241,6 +241,12 @@
   GtkWidget *main_window;
 
   ml = cls;
+
+  if (GNUNET_OK != GNUNET_GTK_main_loop_build_window (ml, NULL))
+  {
+    return;
+  }
+
   statistics =
       GNUNET_STATISTICS_create ("gnunet-statistics-gtk",
                                 GNUNET_GTK_main_loop_get_configuration (ml));




reply via email to

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