PsppireDataEditor: Cope with another change to the GtkNotebook switch_page signature
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 27 May 2013 10:11:34 +0000 (12:11 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 29 May 2013 04:57:20 +0000 (06:57 +0200)
src/ui/gui/psppire-data-editor.c

index 8638677125a5fe1a4aa2fd31c9d7a28aea080d64..5ae78dd886d503d7a04936c3632f0a775b90cf62 100644 (file)
@@ -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));
 }