Avoid use of deprecated GtkNotebookPage
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 14 May 2013 11:00:37 +0000 (13:00 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 14 May 2013 13:25:42 +0000 (15:25 +0200)
src/ui/gui/psppire-data-editor.c
src/ui/gui/psppire-data-window.c

index 70086b500070d1b557eee74928b5231df83863b9..0a117c06d3ae0a5676d8d5b4433ac0ee19ca3d5c 100644 (file)
@@ -224,7 +224,7 @@ psppire_data_editor_get_property (GObject         *object,
 
 static void
 psppire_data_editor_switch_page (GtkNotebook     *notebook,
-                                 GtkNotebookPage *page,
+                                 gpointer page,
                                  guint            page_num)
 {
   GTK_NOTEBOOK_CLASS (parent_class)->switch_page (notebook, page, page_num);
index ce9309b1ce295fd4a8c657090db655b0143eb6a6..f36283289f324e7779b46f9175eee82b93013771 100644 (file)
@@ -779,7 +779,7 @@ set_unsaved (gpointer w)
 }
 
 static void
-on_switch_page (PsppireDataEditor *de, GtkNotebookPage *p,
+on_switch_page (PsppireDataEditor *de, gpointer p,
                gint pagenum, PsppireDataWindow *dw)
 {
   GtkWidget *page_menu_item;