summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_spin_button.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2018-01-19 17:25:47 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2018-01-19 17:30:04 +0900
commit20570f74d32d49fe09797f24d5a43348fe39dfda (patch)
tree9d5cae6e44b9613ccd1e96beac93cc40ce273218 /src/lib/elementary/efl_ui_spin_button.c
parentc35f257bf28b7cd2b31051f462a6b79660844486 (diff)
widget: Move on_focus_update to Focus.Object
Following @taxi2se's recommendation. This is indeed a focus method, and Widget already inherits from Focus.Object. Ping @bu5hm4n who probably wants to adapt this further. Ref T5363
Diffstat (limited to 'src/lib/elementary/efl_ui_spin_button.c')
-rw-r--r--src/lib/elementary/efl_ui_spin_button.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_spin_button.c b/src/lib/elementary/efl_ui_spin_button.c
index 1c97c84..34d969d 100644
--- a/src/lib/elementary/efl_ui_spin_button.c
+++ b/src/lib/elementary/efl_ui_spin_button.c
@@ -568,11 +568,11 @@ _efl_ui_spin_button_efl_ui_widget_widget_event(Eo *obj, Efl_Ui_Spin_Button_Data
568} 568}
569 569
570EOLIAN static Eina_Bool 570EOLIAN static Eina_Bool
571_efl_ui_spin_button_efl_ui_widget_on_focus_update(Eo *obj, Efl_Ui_Spin_Button_Data *sd) 571_efl_ui_spin_button_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Spin_Button_Data *sd)
572{ 572{
573 Eina_Bool int_ret = EINA_FALSE; 573 Eina_Bool int_ret = EINA_FALSE;
574 574
575 int_ret = efl_ui_widget_on_focus_update(efl_super(obj, MY_CLASS)); 575 int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
576 if (!int_ret) return EINA_FALSE; 576 if (!int_ret) return EINA_FALSE;
577 577
578 if (!efl_ui_focus_object_focus_get(obj)) 578 if (!efl_ui_focus_object_focus_get(obj))