diff options
author | Chris Toshok <toshok@ximian.com> | 2002-11-15 10:49:15 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-11-15 10:49:15 +0800 |
commit | f60cb1f5371ad819960d43585cdd4b28eb465e59 (patch) | |
tree | 22776e01f6c3c6ed8e7298a34ae6b9b6b5abccae /widgets/table/e-table.c | |
parent | b39be5377514b9bc3c43b7f5172645edd683e683 (diff) | |
download | gsoc2013-evolution-f60cb1f5371ad819960d43585cdd4b28eb465e59.tar.gz gsoc2013-evolution-f60cb1f5371ad819960d43585cdd4b28eb465e59.tar.zst gsoc2013-evolution-f60cb1f5371ad819960d43585cdd4b28eb465e59.zip |
ETableConfig derives from GObject (fix warnings).
2002-11-14 Chris Toshok <toshok@ximian.com>
* e-table-header-item.c (ethi_popup_customize_view): ETableConfig
derives from GObject (fix warnings).
* e-table.c: deal with ESorter deriving from GObject.
* e-table-sorter.[ch]: this derives from GObject now.
svn path=/trunk/; revision=18775
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r-- | widgets/table/e-table.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 37499a1a40..40a34fdc27 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -1258,9 +1258,9 @@ e_table_set_state_object(ETable *e_table, ETableState *state) e_table->sort_info = NULL; if (e_table->sorter) - gtk_object_set(GTK_OBJECT(e_table->sorter), - "sort_info", e_table->sort_info, - NULL); + g_object_set(e_table->sorter, + "sort_info", e_table->sort_info, + NULL); if (e_table->header_item) gtk_object_set(GTK_OBJECT(e_table->header_item), "ETableHeader", e_table->header, @@ -1494,7 +1494,6 @@ et_real_construct (ETable *e_table, ETableModel *etm, ETableExtras *ete, e_table->sorter = e_table_sorter_new(etm, e_table->full_header, e_table->sort_info); g_object_ref (e_table->sorter); - gtk_object_sink (GTK_OBJECT (e_table->sorter)); g_object_set (e_table->selection, "model", etm, |