Revert "elc_popup: apply tizen color class feature for popup" 30/248230/2
authorTaehyub Kim <taehyub.kim@samsung.com>
Tue, 24 Nov 2020 05:11:02 +0000 (05:11 +0000)
committerHermet Park <chuneon.park@samsung.com>
Tue, 24 Nov 2020 11:38:48 +0000 (11:38 +0000)
This reverts commit b03caf30f155c4210fa9171605b9a1ba23e162e6.

Change-Id: I0db146d94481eaf9b580de211ddddc31e5834921

src/lib/elementary/efl_ui_widget.c

index 257bc28..6030923 100644 (file)
@@ -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,