aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,