aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-sort-info.c2
-rw-r--r--widgets/table/e-table-state.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/widgets/table/e-table-sort-info.c b/widgets/table/e-table-sort-info.c
index c723ded8d8..2566f7e264 100644
--- a/widgets/table/e-table-sort-info.c
+++ b/widgets/table/e-table-sort-info.c
@@ -45,6 +45,8 @@ etsi_destroy (GtkObject *object)
static void
e_table_sort_info_init (ETableSortInfo *info)
{
+ GTK_OBJECT_UNSET_FLAGS (GTK_OBJECT (info), GTK_FLOATING);
+
info->group_count = 0;
info->groupings = NULL;
info->sort_count = 0;
diff --git a/widgets/table/e-table-state.c b/widgets/table/e-table-state.c
index 0bb3f2e0a4..c5b19b42a2 100644
--- a/widgets/table/e-table-state.c
+++ b/widgets/table/e-table-state.c
@@ -30,7 +30,7 @@ etst_destroy (GtkObject *object)
{
ETableState *etst = E_TABLE_STATE (object);
- gtk_object_destroy (GTK_OBJECT (etst->sort_info));
+ gtk_object_unref (GTK_OBJECT (etst->sort_info));
if (etst->columns)
g_free (etst->columns);