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-specification.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-specification.c')
-rw-r--r-- | widgets/table/e-table-specification.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/widgets/table/e-table-specification.c b/widgets/table/e-table-specification.c index 6c1b4d7b04..c77f4a5995 100644 --- a/widgets/table/e-table-specification.c +++ b/widgets/table/e-table-specification.c @@ -45,14 +45,14 @@ etsp_finalize (GObject *object) if (etsp->columns) { for (i = 0; etsp->columns[i]; i++) { - gtk_object_unref (GTK_OBJECT (etsp->columns[i])); + g_object_unref (etsp->columns[i]); } g_free (etsp->columns); etsp->columns = NULL; } if (etsp->state) - gtk_object_unref (GTK_OBJECT (etsp->state)); + g_object_unref (etsp->state); etsp->state = NULL; g_free (etsp->click_to_add_message); @@ -234,11 +234,11 @@ e_table_specification_load_from_node (ETableSpecification *specification, } if (specification->state) - gtk_object_unref (GTK_OBJECT (specification->state)); + g_object_unref (specification->state); specification->state = NULL; if (specification->columns) { for (i = 0; specification->columns[i]; i++) { - gtk_object_unref (GTK_OBJECT (specification->columns[i])); + g_object_unref (specification->columns[i]); } g_free (specification->columns); } @@ -248,8 +248,7 @@ e_table_specification_load_from_node (ETableSpecification *specification, if (!strcmp (children->name, "ETableColumn")) { ETableColumnSpecification *col_spec = e_table_column_specification_new (); - gtk_object_ref (GTK_OBJECT (col_spec)); - gtk_object_sink (GTK_OBJECT (col_spec)); + g_object_ref (col_spec); e_table_column_specification_load_from_node (col_spec, children); list = g_list_append (list, col_spec); } else if (specification->state == NULL && !strcmp (children->name, "ETableState")) { |