From cc4ff674389c22f8ec24df5b4930a359af46cf30 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 2 Jan 2009 14:48:29 +0000 Subject: [PATCH] Remove unnecessary storage of page number in tab add svn path=/trunk/netsurf/; revision=5955 --- gtk/gtk_tabs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtk_tabs.c b/gtk/gtk_tabs.c index 5fb8cf05e..2aedcff77 100644 --- a/gtk/gtk_tabs.c +++ b/gtk/gtk_tabs.c @@ -59,8 +59,8 @@ void nsgtk_tab_add(struct gui_window *window) GtkNotebook *tabs = nsgtk_scaffolding_get_notebook(window); GtkWidget *tabBox = nsgtk_tab_label_setup(window); - gint page = gtk_notebook_append_page(tabs, - GTK_WIDGET(window->scrolledwindow), tabBox); + gtk_notebook_append_page(tabs, + GTK_WIDGET(window->scrolledwindow), tabBox); gtk_widget_show_all(GTK_WIDGET(window->scrolledwindow)); }