diff options
-rw-r--r-- | widgets/table/e-table.c | 1 | ||||
-rw-r--r-- | widgets/table/e-tree.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index f1f68242f0..4a2edcb6f1 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -961,6 +961,7 @@ et_real_construct (ETable *e_table, ETableModel *etm, ETableExtras *ete, e_table->horizontal_scrolling = specification->horizontal_scrolling; e_table->sort_info = state->sort_info; + gtk_object_ref (GTK_OBJECT (state->sort_info)); e_table->group_info_change_id = gtk_signal_connect (GTK_OBJECT (e_table->sort_info), "group_info_changed", diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c index ba394d3f71..773089df3f 100644 --- a/widgets/table/e-tree.c +++ b/widgets/table/e-tree.c @@ -734,6 +734,7 @@ et_real_construct (ETree *e_tree, ETreeModel *etm, ETableExtras *ete, e_tree->horizontal_scrolling = specification->horizontal_scrolling; e_tree->sort_info = state->sort_info; + gtk_object_ref (GTK_OBJECT (e_tree->sort_info)); gtk_object_set(GTK_OBJECT(e_tree->header), "sort_info", e_tree->sort_info, |