From: John Darrington Date: Mon, 27 May 2013 08:39:37 +0000 (+0200) Subject: PsppSheetViewColumn reparented to GObject X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6b9f4c6618e164059e7aaec9abece94077ace9e;p=pspp PsppSheetViewColumn reparented to GObject Previously the parent was GtkObject which no longer exists in Gtk3 --- diff --git a/src/ui/gui/pspp-sheet-view-column.c b/src/ui/gui/pspp-sheet-view-column.c index 7907a02c25..67e4340954 100644 --- a/src/ui/gui/pspp-sheet-view-column.c +++ b/src/ui/gui/pspp-sheet-view-column.c @@ -186,7 +186,7 @@ static void pspp_sheet_view_column_buildable_init (GtkBuildableI static guint tree_column_signals[LAST_SIGNAL] = { 0 }; -G_DEFINE_TYPE_WITH_CODE (PsppSheetViewColumn, pspp_sheet_view_column, GTK_TYPE_OBJECT, +G_DEFINE_TYPE_WITH_CODE (PsppSheetViewColumn, pspp_sheet_view_column, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE (GTK_TYPE_CELL_LAYOUT, pspp_sheet_view_column_cell_layout_init) G_IMPLEMENT_INTERFACE (GTK_TYPE_BUILDABLE, diff --git a/src/ui/gui/pspp-sheet-view-column.h b/src/ui/gui/pspp-sheet-view-column.h index e7facafdc8..9a0e9b5d60 100644 --- a/src/ui/gui/pspp-sheet-view-column.h +++ b/src/ui/gui/pspp-sheet-view-column.h @@ -59,7 +59,7 @@ typedef void (* PsppSheetCellDataFunc) (PsppSheetViewColumn *tree_column, struct _PsppSheetViewColumn { - GtkObject parent; + GObject parent; GtkWidget *PSEAL (tree_view); GtkWidget *PSEAL (button); @@ -116,7 +116,7 @@ struct _PsppSheetViewColumn struct _PsppSheetViewColumnClass { - GtkObjectClass parent_class; + GObjectClass parent_class; gboolean (*clicked) (PsppSheetViewColumn *tree_column); gboolean (*button_press_event) (PsppSheetViewColumn *,