From: John Darrington Date: Mon, 20 May 2013 07:30:52 +0000 (+0200) Subject: Work around change in signature of the switch page callback in GtkNoteBook X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=9210616dafceb085abeeaac7eca6cf3477393b08;p=pspp Work around change in signature of the switch page callback in GtkNoteBook --- diff --git a/src/ui/gui/psppire-data-editor.c b/src/ui/gui/psppire-data-editor.c index 0a117c06d3..8638677125 100644 --- a/src/ui/gui/psppire-data-editor.c +++ b/src/ui/gui/psppire-data-editor.c @@ -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);