aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWooHyun Jung <woohyun0705@gmail.com>2013-02-07 05:36:47 +0000
committerWooHyun Jung <woohyun0705@gmail.com>2013-02-07 05:36:47 +0000
commit5d3e2e48d2d4abbaa61ada8e0c557e1d0297aa4f (patch)
tree382dc1eac2fba293b210cac3ef14e3fab954d575
parentd9cafa2052e49120139c5dc2488aaaa13d176261 (diff)
downloadefl-5d3e2e48d2d4abbaa61ada8e0c557e1d0297aa4f.tar.gz
efl-5d3e2e48d2d4abbaa61ada8e0c557e1d0297aa4f.tar.xz
efl-5d3e2e48d2d4abbaa61ada8e0c557e1d0297aa4f.zip
[edje/edje_program] Checking walking_callbacks for not removing patterns which are still used.
SVN revision: 83700
-rw-r--r--ChangeLog4
-rw-r--r--src/lib/edje/edje_program.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ffa5bbc40..ec2e47a8d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-02-07 WooHyun Jung
+
+ * edje: Checking walking_callbacks for not removing patterns which are still used.
+
2013-02-06 Cedric Bail
* eina: fix map leak in Eina_File.
diff --git a/src/lib/edje/edje_program.c b/src/lib/edje/edje_program.c
index e4d9e81a4..30b2ae560 100644
--- a/src/lib/edje/edje_program.c
+++ b/src/lib/edje/edje_program.c
@@ -1282,6 +1282,8 @@ static Eina_Bool _edje_glob_callback(Edje_Program *pr, void *dt)
void
_edje_callbacks_patterns_clean(Edje *ed)
{
+ if (ed->walking_callbacks > 0) return;
+
_edje_signals_sources_patterns_clean(&ed->patterns.callbacks);
eina_rbtree_delete(ed->patterns.callbacks.exact_match,