Work around change in signature of the switch page callback in GtkNoteBook 20130520010502/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 20 May 2013 07:30:52 +0000 (09:30 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 20 May 2013 07:30:52 +0000 (09:30 +0200)
src/ui/gui/psppire-data-editor.c

index 0a117c06d3ae0a5676d8d5b4433ac0ee19ca3d5c..8638677125a5fe1a4aa2fd31c9d7a28aea080d64 100644 (file)
@@ -224,7 +224,11 @@ 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
                                  guint            page_num)
 {
   GTK_NOTEBOOK_CLASS (parent_class)->switch_page (notebook, page, page_num);