Remove unnecessary storage of page number in tab add

svn path=/trunk/netsurf/; revision=5955
This commit is contained in:
Daniel Silverstone 2009-01-02 14:48:29 +00:00
parent 70e1c9c7bf
commit cc4ff67438

View File

@ -59,8 +59,8 @@ void nsgtk_tab_add(struct gui_window *window)
GtkNotebook *tabs = nsgtk_scaffolding_get_notebook(window); GtkNotebook *tabs = nsgtk_scaffolding_get_notebook(window);
GtkWidget *tabBox = nsgtk_tab_label_setup(window); GtkWidget *tabBox = nsgtk_tab_label_setup(window);
gint page = gtk_notebook_append_page(tabs, gtk_notebook_append_page(tabs,
GTK_WIDGET(window->scrolledwindow), tabBox); GTK_WIDGET(window->scrolledwindow), tabBox);
gtk_widget_show_all(GTK_WIDGET(window->scrolledwindow)); gtk_widget_show_all(GTK_WIDGET(window->scrolledwindow));
} }