jaehyun pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=cd1a466fd76c3382c2f9e206b78a05b694abd50d
commit cd1a466fd76c3382c2f9e206b78a05b694abd50d Author: Sungtaek Hong <[email protected]> Date: Mon Dec 11 17:10:06 2017 +0900 efl_ui_popup_scroll: remove build warnings Reviewers: Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5640 --- src/lib/elementary/efl_ui_popup_alert_scroll.c | 4 ---- src/lib/elementary/efl_ui_popup_alert_text.c | 3 --- 2 files changed, 7 deletions(-) diff --git a/src/lib/elementary/efl_ui_popup_alert_scroll.c b/src/lib/elementary/efl_ui_popup_alert_scroll.c index c7c5194b9e..9adcf961c3 100644 --- a/src/lib/elementary/efl_ui_popup_alert_scroll.c +++ b/src/lib/elementary/efl_ui_popup_alert_scroll.c @@ -14,8 +14,6 @@ #define MY_CLASS EFL_UI_POPUP_ALERT_SCROLL_CLASS #define MY_CLASS_NAME "Efl.Ui.Popup_Alert_Scroll" -static const char PART_NAME_SCROLLER[] = "scroller"; - static void _scroller_sizing_eval(Eo *obj, Efl_Ui_Popup_Alert_Scroll_Data *pd, Eina_Size2D exp_scr_min, Eina_Size2D min) @@ -273,10 +271,8 @@ _efl_ui_popup_alert_scroll_efl_object_constructor(Eo *obj, elm_widget_sub_object_parent_add(obj); - // TODO: Change internal component to Efl.Ui.Widget pd->scroller = elm_scroller_add(obj); elm_object_style_set(pd->scroller, "popup/no_inset_shadow"); - //elm_widget_element_update(obj, pd->scroller, PART_NAME_SCROLLER); elm_scroller_policy_set(pd->scroller, ELM_SCROLLER_POLICY_AUTO, ELM_SCROLLER_POLICY_AUTO); diff --git a/src/lib/elementary/efl_ui_popup_alert_text.c b/src/lib/elementary/efl_ui_popup_alert_text.c index b8d50a3282..ddada43e99 100644 --- a/src/lib/elementary/efl_ui_popup_alert_text.c +++ b/src/lib/elementary/efl_ui_popup_alert_text.c @@ -12,7 +12,6 @@ #define MY_CLASS EFL_UI_POPUP_ALERT_TEXT_CLASS #define MY_CLASS_NAME "Efl.Ui.Popup_Alert_Text" -static const char PART_NAME_SCROLLER[] = "scroller"; static const char PART_NAME_TEXT[] = "text"; EOLIAN static void @@ -109,10 +108,8 @@ _efl_ui_popup_alert_text_efl_object_constructor(Eo *obj, elm_widget_sub_object_parent_add(obj); - // TODO: Change internal component to Efl.Ui.Widget pd->scroller = elm_scroller_add(obj); elm_object_style_set(pd->scroller, "popup/no_inset_shadow"); - //elm_widget_element_update(obj, pd->scroller, PART_NAME_SCROLLER); elm_scroller_policy_set(pd->scroller, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_AUTO); --
