diff options
author | Mike Kestner <mkestner@ximian.com> | 2002-11-05 00:18:45 +0800 |
---|---|---|
committer | Mike Kestner <mkestner@src.gnome.org> | 2002-11-05 00:18:45 +0800 |
commit | 65269c688256d025bbd5da06af484dcc536c178d (patch) | |
tree | e1edd70c0410ebc4d9dda363b2debf45c8edd5f8 /widgets/table/e-table-item.c | |
parent | dcb12b11c9f4e35d614629c487643ace47068c32 (diff) | |
download | gsoc2013-evolution-65269c688256d025bbd5da06af484dcc536c178d.tar gsoc2013-evolution-65269c688256d025bbd5da06af484dcc536c178d.tar.gz gsoc2013-evolution-65269c688256d025bbd5da06af484dcc536c178d.tar.bz2 gsoc2013-evolution-65269c688256d025bbd5da06af484dcc536c178d.tar.lz gsoc2013-evolution-65269c688256d025bbd5da06af484dcc536c178d.tar.xz gsoc2013-evolution-65269c688256d025bbd5da06af484dcc536c178d.tar.zst gsoc2013-evolution-65269c688256d025bbd5da06af484dcc536c178d.zip |
use GObject api for ETableHeader use GObject api on ETableHeader
2002-11-04 Mike Kestner <mkestner@ximian.com>
* e-table-group.c : use GObject api for ETableHeader
* e-table-header-item.c : use GObject api on ETableHeader
* e-table-header.[ch] : GObjectify
* e-table-item.c : use GObject api on ETableHeader
* e-table-search.[ch] : GObjectify
* e-table-sorted.c : use GObject api for ETableHeader
* e-table-sorter.c : use GObject api for ETableHeader
* e-table-specification.[ch] : GObjectify
* e-table-utils.c : use GObject api for ETableHeader
* e-tree-sorted.c : use GObject api for ETableHeader
* e-tree.c : use GObject api on Header, Spec, and Search
svn path=/trunk/; revision=18531
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r-- | widgets/table/e-table-item.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index e85eeb7106..df2adedc01 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -566,18 +566,18 @@ eti_remove_header_model (ETableItem *eti) if (!eti->header) return; - gtk_signal_disconnect (GTK_OBJECT (eti->header), - eti->header_structure_change_id); - gtk_signal_disconnect (GTK_OBJECT (eti->header), - eti->header_dim_change_id); - gtk_signal_disconnect (GTK_OBJECT (eti->header), - eti->header_request_width_id); + g_signal_handler_disconnect (G_OBJECT (eti->header), + eti->header_structure_change_id); + g_signal_handler_disconnect (G_OBJECT (eti->header), + eti->header_dim_change_id); + g_signal_handler_disconnect (G_OBJECT (eti->header), + eti->header_request_width_id); if (eti->cell_views){ eti_unrealize_cell_views (eti); eti_detach_cell_views (eti); } - gtk_object_unref (GTK_OBJECT (eti->header)); + g_object_unref (G_OBJECT (eti->header)); eti->header_structure_change_id = 0; @@ -1366,21 +1366,21 @@ eti_add_header_model (ETableItem *eti, ETableHeader *header) g_assert (eti->header == NULL); eti->header = header; - gtk_object_ref (GTK_OBJECT (header)); + g_object_ref (G_OBJECT (header)); eti_header_structure_changed (header, eti); - eti->header_dim_change_id = gtk_signal_connect ( - GTK_OBJECT (header), "dimension_change", - GTK_SIGNAL_FUNC (eti_header_dim_changed), eti); + eti->header_dim_change_id = g_signal_connect ( + G_OBJECT (header), "dimension_change", + G_CALLBACK (eti_header_dim_changed), eti); - eti->header_structure_change_id = gtk_signal_connect ( - GTK_OBJECT (header), "structure_change", - GTK_SIGNAL_FUNC (eti_header_structure_changed), eti); + eti->header_structure_change_id = g_signal_connect ( + G_OBJECT (header), "structure_change", + G_CALLBACK (eti_header_structure_changed), eti); - eti->header_request_width_id = gtk_signal_connect - (GTK_OBJECT (header), "request_width", - GTK_SIGNAL_FUNC (eti_request_column_width), eti); + eti->header_request_width_id = g_signal_connect + (G_OBJECT (header), "request_width", + G_CALLBACK (eti_request_column_width), eti); } /* @@ -2955,7 +2955,7 @@ eti_class_init (GtkObjectClass *object_class) GTK_RUN_LAST, E_OBJECT_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (ETableItemClass, style_set), - gtk_marshal_NONE__POINTER, + gtk_marshal_NONE__OBJECT, GTK_TYPE_NONE, 1, GTK_TYPE_STYLE); E_OBJECT_CLASS_ADD_SIGNALS (object_class, eti_signals, LAST_SIGNAL); |