edje: return immediately when setting color class if class is not in use

This commit is contained in:
Mike Blumenkrantz 2015-04-02 13:05:09 -04:00
parent f4baae3f14
commit 5a61ee107c
1 changed files with 1 additions and 0 deletions

View File

@ -559,6 +559,7 @@ edje_color_class_set(const char *color_class, int r, int g, int b, int a, int r2
cc->a3 = a3;
members = eina_hash_find(_edje_color_class_member_hash, color_class);
if (!members) return EINA_TRUE;
it = eina_hash_iterator_data_new(members);
EINA_ITERATOR_FOREACH(it, er)
{