diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk-event_handler.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk-event_handler.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk-event_handler.c b/src/fs/gnunet-fs-gtk-event_handler.c index 06b199e4..487fbf75 100644 --- a/src/fs/gnunet-fs-gtk-event_handler.c +++ b/src/fs/gnunet-fs-gtk-event_handler.c | |||
@@ -1583,7 +1583,6 @@ setup_publish (struct GNUNET_FS_PublishContext *pc, const char *fn, | |||
1583 | GtkWidget *tab_label; | 1583 | GtkWidget *tab_label; |
1584 | GtkWidget *close_button; | 1584 | GtkWidget *close_button; |
1585 | GtkNotebook *notebook; | 1585 | GtkNotebook *notebook; |
1586 | gint pages; | ||
1587 | char *size_fancy; | 1586 | char *size_fancy; |
1588 | 1587 | ||
1589 | if (NULL == parent) | 1588 | if (NULL == parent) |
@@ -1621,7 +1620,6 @@ setup_publish (struct GNUNET_FS_PublishContext *pc, const char *fn, | |||
1621 | notebook = | 1620 | notebook = |
1622 | GTK_NOTEBOOK (GNUNET_FS_GTK_get_main_window_object | 1621 | GTK_NOTEBOOK (GNUNET_FS_GTK_get_main_window_object |
1623 | ("GNUNET_GTK_main_window_notebook")); | 1622 | ("GNUNET_GTK_main_window_notebook")); |
1624 | pages = gtk_notebook_get_n_pages (notebook); | ||
1625 | gtk_notebook_insert_page (notebook, publish_tab->frame, tab_label, 0); | 1623 | gtk_notebook_insert_page (notebook, publish_tab->frame, tab_label, 0); |
1626 | gtk_widget_show (GTK_WIDGET (notebook)); | 1624 | gtk_widget_show (GTK_WIDGET (notebook)); |
1627 | gtk_notebook_set_current_page (notebook, 0); | 1625 | gtk_notebook_set_current_page (notebook, 0); |