diff options
author | Dan Winship <danw@src.gnome.org> | 2001-03-26 00:55:03 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-03-26 00:55:03 +0800 |
commit | 768085542752167f63ed51a614dd884d4d72fb21 (patch) | |
tree | 579187378665d27e6683592caec63f71839ee9fa /widgets/table/e-tree.c | |
parent | e29d5a8a7adbc9363d4a054b6ab70ada182ae15d (diff) | |
download | gsoc2013-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.c | 1 |
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, |