From 9210616dafceb085abeeaac7eca6cf3477393b08 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 20 May 2013 09:30:52 +0200 Subject: [PATCH] Work around change in signature of the switch page callback in GtkNoteBook --- src/ui/gui/psppire-data-editor.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.30.2