summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Andreoli <dave@gurumeditation.it>2016-08-02 16:53:51 -0700
committerCedric Bail <cedric@osg.samsung.com>2016-08-02 16:54:33 -0700
commit7c01254ba79afcca4d02b16fd2841819c6acf2b4 (patch)
treee14d97d40985354fb1bca439099b0cdd762d8300
parent914043d567448de8553132d0c98dff586cc36c03 (diff)
downloadefl-7c01254ba79afcca4d02b16fd2841819c6acf2b4.tar.gz
edje: fix color class broken by b543f4c896d9.
T4270 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
-rw-r--r--src/lib/edje/edje_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index 3a4291bcea..3335e12085 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -815,6 +815,9 @@ _edje_object_global_color_class_set(Eo_Class *klass EINA_UNUSED, void *pd EINA_U
Eina_Bool int_ret;
Eina_Bool need_update = EINA_FALSE;
+ if (!_edje_color_class_hash)
+ _edje_color_class_hash = eina_hash_string_superfast_new(NULL);
+
int_ret = _edje_color_class_set_internal(_edje_color_class_hash, color_class, mode, r, g, b, a, &need_update);
if ((int_ret) && (need_update))