mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
Remove unnecessary storage of page number in tab add
svn path=/trunk/netsurf/; revision=5955
This commit is contained in:
parent
70e1c9c7bf
commit
cc4ff67438
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user