From: WooHyun Jung Date: Thu, 7 Feb 2013 05:36:47 +0000 (+0000) Subject: [edje/edje_program] Checking walking_callbacks for not removing patterns which are... X-Git-Tag: submit/devel/efl/20131022.203902~1884 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d3e2e48d2d4abbaa61ada8e0c557e1d0297aa4f;p=platform%2Fupstream%2Fefl.git [edje/edje_program] Checking walking_callbacks for not removing patterns which are still used. SVN revision: 83700 --- diff --git a/ChangeLog b/ChangeLog index ffa5bbc..ec2e47a 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 e4d9e81..30b2ae5 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,