aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-sorted-variable.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-sorted-variable.c
parent3ec0323ff6027be46f6897b439ab4084b45666f0 (diff)
downloadgsoc2013-evolution-9cf73d61eb344bbbbf50d6932bff5ce23f2971e6.tar.gz
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-sorted-variable.c')
-rw-r--r--widgets/table/e-table-sorted-variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-sorted-variable.c b/widgets/table/e-table-sorted-variable.c
index 53a92371ae..5fd747eaff 100644
--- a/widgets/table/e-table-sorted-variable.c
+++ b/widgets/table/e-table-sorted-variable.c
@@ -271,7 +271,7 @@ e_table_sorted_variable_new (ETableModel *source, ETableHeader *full_header, ETa
ETableSubsetVariable *etssv = E_TABLE_SUBSET_VARIABLE (etsv);
if (e_table_subset_variable_construct (etssv, source) == NULL){
- gtk_object_destroy (GTK_OBJECT (etsv));
+ gtk_object_unref (GTK_OBJECT (etsv));
return NULL;
}