PsppSheetViewColumn reparented to GObject
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 27 May 2013 08:39:37 +0000 (10:39 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 28 May 2013 14:04:14 +0000 (16:04 +0200)
Previously the parent was GtkObject which no longer exists in Gtk3

src/ui/gui/pspp-sheet-view-column.c
src/ui/gui/pspp-sheet-view-column.h

index 7907a02c257a7b76ce93185145775fa3efdc2093..67e43409541209b965996381e2e7c4d616470c24 100644 (file)
@@ -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,
index e7facafdc8e438a7bef821f78ceff77e6fbb06ba..9a0e9b5d600533c5e50da7274a573e653c592746 100644 (file)
@@ -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 *,