aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree-memory.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-11-06 03:50:35 +0800
committerChris Lahey <clahey@src.gnome.org>2001-11-06 03:50:35 +0800
commit76d416305f74670cebaaaa639f39554b77cbe3e0 (patch)
tree3eaeef074662c9d73bcf688dddbeb3fc79639760 /widgets/table/e-tree-memory.c
parent115c8ef7a383b0b4be866192287301f56df540d2 (diff)
downloadgsoc2013-evolution-76d416305f74670cebaaaa639f39554b77cbe3e0.tar
gsoc2013-evolution-76d416305f74670cebaaaa639f39554b77cbe3e0.tar.gz
gsoc2013-evolution-76d416305f74670cebaaaa639f39554b77cbe3e0.tar.bz2
gsoc2013-evolution-76d416305f74670cebaaaa639f39554b77cbe3e0.tar.lz
gsoc2013-evolution-76d416305f74670cebaaaa639f39554b77cbe3e0.tar.xz
gsoc2013-evolution-76d416305f74670cebaaaa639f39554b77cbe3e0.tar.zst
gsoc2013-evolution-76d416305f74670cebaaaa639f39554b77cbe3e0.zip
We should only pre_change here if frozen = 0, otherwise we'll leak
2001-11-03 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c (e_tree_memory_freeze): We should only pre_change here if frozen = 0, otherwise we'll leak pre_changes. Helps fix Ximian bug #14422. * e-tree-sorted.c (ets_proxy_node_data_changed, ets_proxy_node_col_changed): Send a no_change signal here if given a NULL path. Helps fix Ximian bug #14422. svn path=/trunk/; revision=14591
Diffstat (limited to 'widgets/table/e-tree-memory.c')
-rw-r--r--widgets/table/e-tree-memory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/table/e-tree-memory.c b/widgets/table/e-tree-memory.c
index 9f6af6535c..330dac93fb 100644
--- a/widgets/table/e-tree-memory.c
+++ b/widgets/table/e-tree-memory.c
@@ -163,7 +163,8 @@ e_tree_memory_freeze(ETreeMemory *etmm)
{
ETreeMemoryPriv *priv = etmm->priv;
- e_tree_model_pre_change(E_TREE_MODEL(etmm));
+ if (priv->frozen == 0)
+ e_tree_model_pre_change(E_TREE_MODEL(etmm));
priv->frozen ++;
}