psppire-dictview: Generalize psppire_dict_view_get_var_measurement_stock_id().
[pspp] / src / ui / gui / psppire-data-editor.c
index 70086b500070d1b557eee74928b5231df83863b9..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);