color_class: get color from applied color class
authorJee-Yong Um <jc9.um@samsung.com>
Thu, 24 Nov 2016 09:55:44 +0000 (18:55 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 2 Jan 2017 05:37:06 +0000 (14:37 +0900)
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I75e273b22023f230f58a07f21bcd1050273b985a

src/lib/elm_widget.c

index defbf0883095cac74218b129b09a91e3e5ed37c6..ef4c408db5b8359fd6a5aacedd9ff516d62d9329 100644 (file)
@@ -7256,7 +7256,7 @@ _elm_widget_color_class_get_internal(Evas_Object *obj, Evas_Object *edje, const
    Eina_Bool int_ret = EINA_TRUE;
    Eina_Stringshare *buf;
 
-   buf = _elm_widget_edje_class_get(eo_class_get(obj), NULL, color_class);
+   buf = _elm_widget_edje_class_get(eo_class_get(obj), elm_widget_style_get(obj), color_class);
 
    int_ret &= edje_object_color_class_get(edje, buf,
                                           r,  g,  b,  a,