mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 05:27:00 +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);
|
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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user