aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-subset.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-12-10 04:04:18 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-12-10 04:04:18 +0800
commit9cf73d61eb344bbbbf50d6932bff5ce23f2971e6 (patch)
treeb1a619efe486ed7e01f1b4b32a8bbfa4a739164a /widgets/table/e-table-subset.c
parent3ec0323ff6027be46f6897b439ab4084b45666f0 (diff)
downloadgsoc2013-evolution-9cf73d61eb344bbbbf50d6932bff5ce23f2971e6.tar
gsoc2013-evolution-9cf73d61eb344bbbbf50d6932bff5ce23f2971e6.tar.gz
gsoc2013-evolution-9cf73d61eb344bbbbf50d6932bff5ce23f2971e6.tar.bz2
gsoc2013-evolution-9cf73d61eb344bbbbf50d6932bff5ce23f2971e6.tar.lz
gsoc2013-evolution-9cf73d61eb344bbbbf50d6932bff5ce23f2971e6.tar.xz
gsoc2013-evolution-9cf73d61eb344bbbbf50d6932bff5ce23f2971e6.tar.zst
gsoc2013-evolution-9cf73d61eb344bbbbf50d6932bff5ce23f2971e6.zip
Unref the object instead of destroying it.
2000-12-09 Federico Mena Quintero <federico@helixcode.com> * e-table-sorted.c (e_table_sorted_new): Unref the object instead of destroying it. * e-table-sorted-variable.c (e_table_sorted_variable_new): Likewise. * e-table-subset.c (e_table_subset_new): Likewise. * e-table-subset-variable.c (e_table_subset_variable_new): Likewise. svn path=/trunk/; revision=6888
Diffstat (limited to 'widgets/table/e-table-subset.c')
-rw-r--r--widgets/table/e-table-subset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-subset.c b/widgets/table/e-table-subset.c
index 1d4f4038bd..12e882a5f2 100644
--- a/widgets/table/e-table-subset.c
+++ b/widgets/table/e-table-subset.c
@@ -290,7 +290,7 @@ e_table_subset_new (ETableModel *source, const int nvals)
ETableSubset *etss = gtk_type_new (E_TABLE_SUBSET_TYPE);
if (e_table_subset_construct (etss, source, nvals) == NULL){
- gtk_object_destroy (GTK_OBJECT (etss));
+ gtk_object_unref (GTK_OBJECT (etss));
return NULL;
}