aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-table-sorted-variable.c2
-rw-r--r--widgets/table/e-table-sorted.c2
-rw-r--r--widgets/table/e-table-subset-variable.c2
-rw-r--r--widgets/table/e-table-subset.c2
4 files changed, 4 insertions, 4 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;
}
diff --git a/widgets/table/e-table-sorted.c b/widgets/table/e-table-sorted.c
index 99b4dc510f..8e703311af 100644
--- a/widgets/table/e-table-sorted.c
+++ b/widgets/table/e-table-sorted.c
@@ -59,7 +59,7 @@ e_table_sorted_new (ETableModel *source, int col, GCompareFunc compare)
int i;
if (e_table_subset_construct (etss, source, nvals) == NULL){
- gtk_object_destroy (GTK_OBJECT (ets));
+ gtk_object_unref (GTK_OBJECT (ets));
return NULL;
}
diff --git a/widgets/table/e-table-subset-variable.c b/widgets/table/e-table-subset-variable.c
index e0b9096f25..c94467da16 100644
--- a/widgets/table/e-table-subset-variable.c
+++ b/widgets/table/e-table-subset-variable.c
@@ -113,7 +113,7 @@ e_table_subset_variable_new (ETableModel *source)
ETableSubsetVariable *etssv = gtk_type_new (E_TABLE_SUBSET_VARIABLE_TYPE);
if (e_table_subset_variable_construct (etssv, source) == NULL){
- gtk_object_destroy (GTK_OBJECT (etssv));
+ gtk_object_unref (GTK_OBJECT (etssv));
return NULL;
}
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;
}