From: John Darrington Date: Mon, 27 May 2013 10:11:34 +0000 (+0200) Subject: PsppireDataEditor: Cope with another change to the GtkNotebook switch_page signature X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7146d9792f9a0e96b71ecdde3ad057115926371;p=pspp PsppireDataEditor: Cope with another change to the GtkNotebook switch_page signature --- diff --git a/src/ui/gui/psppire-data-editor.c b/src/ui/gui/psppire-data-editor.c index 8638677125..5ae78dd886 100644 --- a/src/ui/gui/psppire-data-editor.c +++ b/src/ui/gui/psppire-data-editor.c @@ -224,14 +224,10 @@ psppire_data_editor_get_property (GObject *object, static void psppire_data_editor_switch_page (GtkNotebook *notebook, -#if GTK_DISABLE_DEPRECATED && GTK_CHECK_VERSION(2,20,0) - gpointer page, -#else - GtkNotebookPage *page, -#endif + GtkWidget *w, guint page_num) { - GTK_NOTEBOOK_CLASS (parent_class)->switch_page (notebook, page, page_num); + GTK_NOTEBOOK_CLASS (parent_class)->switch_page (notebook, w, page_num); psppire_data_editor_update_ui_manager (PSPPIRE_DATA_EDITOR (notebook)); }