From: Taehyub Kim Date: Tue, 24 Nov 2020 05:11:02 +0000 (+0000) Subject: Revert "elc_popup: apply tizen color class feature for popup" X-Git-Tag: accepted/tizen/unified/20201130.122951~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F30%2F248230%2F2;p=platform%2Fupstream%2Fefl.git Revert "elc_popup: apply tizen color class feature for popup" This reverts commit b03caf30f155c4210fa9171605b9a1ba23e162e6. Change-Id: I0db146d94481eaf9b580de211ddddc31e5834921 --- diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c index 257bc28..6030923 100644 --- a/src/lib/elementary/efl_ui_widget.c +++ b/src/lib/elementary/efl_ui_widget.c @@ -9088,12 +9088,7 @@ _elm_widget_class_color_set(Eo *obj, Elm_Widget_Smart_Data *sd EINA_UNUSED, cons if (!efl_isa(obj, EFL_UI_LAYOUT_BASE_CLASS)) return EINA_FALSE; - // TIZEN_ONLY_FEATURE: apply Tizen's color_class feature for popup - if (efl_isa(obj, ELM_POPUP_CLASS)) - edje = evas_object_data_get(obj, "popup_layout_edje"); - // - else - edje = elm_layout_edje_get(obj); + edje = elm_layout_edje_get(obj); int_ret &= _elm_widget_color_class_set_internal(obj, edje, color_class, r, g, b, a, -1, -1, -1, -1, @@ -9111,12 +9106,7 @@ _elm_widget_class_color_get(Eo *obj, Elm_Widget_Smart_Data *sd EINA_UNUSED, cons if (!efl_isa(obj, EFL_UI_LAYOUT_BASE_CLASS)) return EINA_FALSE; - // TIZEN_ONLY_FEATURE: apply Tizen's color_class feature for popup - if (efl_isa(obj, ELM_POPUP_CLASS)) - edje = evas_object_data_get(obj, "popup_layout_edje"); - // - else - edje = elm_layout_edje_get(obj); + edje = elm_layout_edje_get(obj); int_ret &= _elm_widget_color_class_get_internal(obj, edje, color_class, r, g, b, a, NULL, NULL, NULL, NULL,