aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-header-item.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1999-11-19 13:34:23 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-11-19 13:34:23 +0800
commitda4c37043ecbd7f1c74315f88db36dfa195d6c64 (patch)
tree231eb0410c8455218665f6913361c46ef61fdc00 /widgets/table/e-table-header-item.c
parenta4fe6af80877ae299217e74d2ca859189bbb4bb3 (diff)
downloadgsoc2013-evolution-da4c37043ecbd7f1c74315f88db36dfa195d6c64.tar.gz
gsoc2013-evolution-da4c37043ecbd7f1c74315f88db36dfa195d6c64.tar.zst
gsoc2013-evolution-da4c37043ecbd7f1c74315f88db36dfa195d6c64.zip
New E-table-item.[ch] -mig
svn path=/trunk/; revision=1419
Diffstat (limited to 'widgets/table/e-table-header-item.c')
-rw-r--r--widgets/table/e-table-header-item.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index 50b0b6a677..b46f8511b0 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -36,7 +36,7 @@ ethi_destroy (GtkObject *object)
{
ETableHeaderItem *ethi = E_TABLE_HEADER_ITEM (object);
- gtk_object_unref (GTK_OBJECT (ethi));
+ gtk_object_unref (GTK_OBJECT (ethi->eth));
if (GTK_OBJECT_CLASS (ethi_parent_class)->destroy)
(*GTK_OBJECT_CLASS (ethi_parent_class)->destroy) (object);
@@ -84,6 +84,7 @@ ethi_set_arg (GtkObject *o, GtkArg *arg, guint arg_id)
switch (arg_id){
case ARG_TABLE_HEADER:
ethi->eth = GTK_VALUE_POINTER (*arg);
+ gtk_object_ref (GTK_OBJECT (ethi->eth));
break;
case ARG_TABLE_X: