From da4c37043ecbd7f1c74315f88db36dfa195d6c64 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Fri, 19 Nov 1999 05:34:23 +0000 Subject: New E-table-item.[ch] -mig svn path=/trunk/; revision=1419 --- widgets/table/e-table-header-item.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'widgets/table/e-table-header-item.c') 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: -- cgit