diff options
author | Mike Kestner <mkestner@ximian.com> | 2002-11-06 06:53:40 +0800 |
---|---|---|
committer | Mike Kestner <mkestner@src.gnome.org> | 2002-11-06 06:53:40 +0800 |
commit | 9b97a17eb728152cebe16d53d842c950a85b3505 (patch) | |
tree | 2ccddb671fdb7826e36a67b4e8b3bccebd7cb483 /widgets/table/e-table-group-leaf.c | |
parent | c7f67942ca864e5d158102eab7f26f6285a05b05 (diff) | |
download | gsoc2013-evolution-9b97a17eb728152cebe16d53d842c950a85b3505.tar.gz gsoc2013-evolution-9b97a17eb728152cebe16d53d842c950a85b3505.tar.zst gsoc2013-evolution-9b97a17eb728152cebe16d53d842c950a85b3505.zip |
GObjectify GObjectify GObjectify use GObject api for models use GObject
2002-11-05 Mike Kestner <mkestner@ximian.com>
* e-table-col.[ch] : GObjectify
* e-table-column-specification.[ch] : GObjectify
* e-table-config.[ch] : GObjectify
* e-table-group-leaf.c : use GObject api for models
* e-table-group.c : use GObject api for models
* e-table-header-item.c : use GObject api for models
* e-table-header.c : use GObject api for models
* e-table-selection-model.c : use GObject api for models
* e-table-sort-info.[ch] : GObjectify
* e-table-sorted.[ch] : GObjectify
* e-table-sorter.c : use GObject api for models
* e-table-specification.c : use GObject api for models
* e-table-state.[ch] : GObjectify
* e-table-subset-variable.[ch] : GObjectify
* e-table-subset.[ch] : GObjectify
* e-table.c : use GObject api for models
svn path=/trunk/; revision=18571
Diffstat (limited to 'widgets/table/e-table-group-leaf.c')
-rw-r--r-- | widgets/table/e-table-group-leaf.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/widgets/table/e-table-group-leaf.c b/widgets/table/e-table-group-leaf.c index 32f3a82913..cd9bfa775a 100644 --- a/widgets/table/e-table-group-leaf.c +++ b/widgets/table/e-table-group-leaf.c @@ -61,7 +61,7 @@ etgl_destroy (GtkObject *object) ETableGroupLeaf *etgl = E_TABLE_GROUP_LEAF(object); if (etgl->ets) { - gtk_object_unref (GTK_OBJECT(etgl->ets)); + g_object_unref (etgl->ets); etgl->ets = NULL; } @@ -101,7 +101,7 @@ etgl_destroy (GtkObject *object) } if (etgl->selection_model) { - gtk_object_unref (GTK_OBJECT(etgl->selection_model)); + g_object_unref (etgl->selection_model); etgl->selection_model = NULL; } @@ -128,8 +128,6 @@ e_table_group_leaf_construct (GnomeCanvasGroup *parent, full_header, sort_info)); - gtk_object_ref (GTK_OBJECT (etgl->ets)); - gtk_object_sink (GTK_OBJECT (etgl->ets)); e_table_group_construct (parent, E_TABLE_GROUP (etgl), full_header, header, model); } @@ -449,10 +447,10 @@ etgl_set_arg (GtkObject *object, GtkArg *arg, guint arg_id) break; case ARG_SELECTION_MODEL: if (etgl->selection_model) - gtk_object_unref(GTK_OBJECT(etgl->selection_model)); - etgl->selection_model = E_SELECTION_MODEL(GTK_VALUE_OBJECT (*arg)); + g_object_unref(etgl->selection_model); + etgl->selection_model = E_SELECTION_MODEL(GTK_VALUE_POINTER (*arg)); if (etgl->selection_model) { - gtk_object_ref(GTK_OBJECT(etgl->selection_model)); + g_object_ref(etgl->selection_model); } if (etgl->item) { gnome_canvas_item_set (GNOME_CANVAS_ITEM(etgl->item), |