fix edje program filters

This commit is contained in:
Mike Blumenkrantz 2013-02-28 11:32:43 +00:00
parent d4089d9558
commit a4026762f9
3 changed files with 3 additions and 1 deletions

View File

@ -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

1
NEWS
View File

@ -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

View File

@ -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;