From 64977cb1bcc55bf4c7c0fc38cd3d047b1e6a25c6 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 19 Apr 2007 18:53:33 +0000 Subject: Massive code cleanup (bug #429422) svn path=/trunk/; revision=33432 --- widgets/table/e-table-extras.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'widgets/table/e-table-extras.c') diff --git a/widgets/table/e-table-extras.c b/widgets/table/e-table-extras.c index 5b13c4e5f4..93013bbd78 100644 --- a/widgets/table/e-table-extras.c +++ b/widgets/table/e-table-extras.c @@ -209,10 +209,8 @@ e_table_extras_add_cell (ETableExtras *extras, g_object_unref (old_cell); } - if (cell) { - g_object_ref (cell); - gtk_object_sink (GTK_OBJECT (cell)); - } + if (cell) + g_object_ref_sink (cell); g_hash_table_insert (extras->cells, g_strdup(id), cell); } -- cgit v1.2.3