aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-02-28 11:32:43 +0000
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-02-28 11:33:57 +0000
commita4026762f94b7e4597743fb670daa8dbf488da5e (patch)
tree41124ca102c678bb621efb606f3e15ada8558ab8
parentd4089d9558c91a8c2a5a8d10b5157063919d42b8 (diff)
downloadefl-a4026762f94b7e4597743fb670daa8dbf488da5e.tar.gz
efl-a4026762f94b7e4597743fb670daa8dbf488da5e.tar.xz
efl-a4026762f94b7e4597743fb670daa8dbf488da5e.zip
fix edje program filters
-rw-r--r--ChangeLog1
-rw-r--r--NEWS1
-rw-r--r--src/lib/edje/edje_program.c2
3 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a54215e1..8389e52de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2013-02-28 Mike Blumenkrantz
* fix custom states for edje SPACER parts
+ * fix edje program filters
2013-02-28 Cedric Bail
diff --git a/NEWS b/NEWS
index 4ddc3f519..5784262b9 100644
--- a/NEWS
+++ b/NEWS
@@ -183,3 +183,4 @@ Fixes:
* Evas font: Fixed font run detection for specific cases with 2 different fonts in the middle of a run.
* Evas cache: remove the freed worker from the pthread worker list when it's failed to create a new thread so as not to access it if a thread is working newly.
* fix custom states for edje SPACER parts
+ * fix edje program filters
diff --git a/src/lib/edje/edje_program.c b/src/lib/edje/edje_program.c
index a9ab0b13e..e66554d74 100644
--- a/src/lib/edje/edje_program.c
+++ b/src/lib/edje/edje_program.c
@@ -1269,7 +1269,7 @@ static Eina_Bool _edje_glob_callback(Edje_Program *pr, void *dt)
{
rp = _edje_real_part_get(data->ed, pr->filter.part ? pr->filter.part : data->source);
if (rp)
- exec = (rp->chosen_description->state.name == pr->filter.state);
+ exec = !strcmp(rp->chosen_description->state.name, pr->filter.state);
}
pr->exec = exec;