color_class: get color from applied color class 70/99870/2
authorJee-Yong Um <jc9.um@samsung.com>
Thu, 24 Nov 2016 09:55:44 +0000 (18:55 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 12 Dec 2016 01:13:45 +0000 (17:13 -0800)
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I75e273b22023f230f58a07f21bcd1050273b985a

src/lib/elm_widget.c

index defbf08..ef4c408 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,