Hackery to support GTK >= 2.21.6

svn path=/trunk/netsurf/; revision=10895
This commit is contained in:
John Mark Bell 2010-10-23 13:53:11 +00:00
parent 5d40458ad5
commit 23df373b3b

View File

@ -37,7 +37,7 @@ static void nsgtk_tab_visibility_update(GtkNotebook *notebook, GtkWidget *child,
static void nsgtk_tab_update_size(GtkWidget *hbox, GtkStyle *previous_style,
GtkWidget *close_button);
static void nsgtk_tab_page_changed(GtkNotebook *notebook, GtkNotebookPage *page,
static void nsgtk_tab_page_changed(GtkNotebook *notebook, gpointer *page,
gint page_num);
void nsgtk_tab_options_changed(GtkWidget *tabs)
@ -183,7 +183,7 @@ void nsgtk_tab_update_size(GtkWidget *hbox, GtkStyle *previous_style,
gtk_widget_set_size_request(close_button, w + 4, h + 4);
}
void nsgtk_tab_page_changed(GtkNotebook *notebook, GtkNotebookPage *page,
void nsgtk_tab_page_changed(GtkNotebook *notebook, gpointer *page,
gint page_num)
{
GtkWidget *window = gtk_notebook_get_nth_page(notebook, page_num);