aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-26 00:55:03 +0800
committerDan Winship <danw@src.gnome.org>2001-03-26 00:55:03 +0800
commit768085542752167f63ed51a614dd884d4d72fb21 (patch)
tree579187378665d27e6683592caec63f71839ee9fa /widgets/table/e-tree.c
parente29d5a8a7adbc9363d4a054b6ab70ada182ae15d (diff)
downloadgsoc2013-evolution-768085542752167f63ed51a614dd884d4d72fb21.tar.gz
gsoc2013-evolution-768085542752167f63ed51a614dd884d4d72fb21.tar.zst
gsoc2013-evolution-768085542752167f63ed51a614dd884d4d72fb21.zip
ref the sort_info taken from the state object. Ditto. Fixes the last ETree
* e-table.c (et_real_construct): ref the sort_info taken from the state object. * e-tree.c (et_real_construct): Ditto. Fixes the last ETree crash-on-exit bug for me. svn path=/trunk/; revision=8929
Diffstat (limited to 'widgets/table/e-tree.c')
-rw-r--r--widgets/table/e-tree.c1
1 files changed, 1 insertions, 0 deletions
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,