diff options
Diffstat (limited to 'src/statistics/gnunet-statistics-gtk.c')
-rw-r--r-- | src/statistics/gnunet-statistics-gtk.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/statistics/gnunet-statistics-gtk.c b/src/statistics/gnunet-statistics-gtk.c index 3055c4aa..eee75c5a 100644 --- a/src/statistics/gnunet-statistics-gtk.c +++ b/src/statistics/gnunet-statistics-gtk.c | |||
@@ -241,6 +241,12 @@ run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
241 | GtkWidget *main_window; | 241 | GtkWidget *main_window; |
242 | 242 | ||
243 | ml = cls; | 243 | ml = cls; |
244 | |||
245 | if (GNUNET_OK != GNUNET_GTK_main_loop_build_window (ml, NULL)) | ||
246 | { | ||
247 | return; | ||
248 | } | ||
249 | |||
244 | statistics = | 250 | statistics = |
245 | GNUNET_STATISTICS_create ("gnunet-statistics-gtk", | 251 | GNUNET_STATISTICS_create ("gnunet-statistics-gtk", |
246 | GNUNET_GTK_main_loop_get_configuration (ml)); | 252 | GNUNET_GTK_main_loop_get_configuration (ml)); |