summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-31 15:20:33 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-01 10:09:37 +0900
commitc0d7ea4af0e8f4b46081e8652ec2a92773629c21 (patch)
tree4c73150d73b4bc4935adb385ee2f4b1bbd5f5a75 /src/lib/elementary/efl_ui_win.c
parent89492d859ba6c94df28ad0549b754ee0b005c82a (diff)
widget: Rename on_focus to on_focus_update (EO)
on_focus seems to imply that focus was just given to the widget, but that function is called on any focus change (in and out). Ref T5363
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 670139d61d..8124572c63 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -1699,9 +1699,9 @@ _efl_ui_win_elm_widget_focus_direction(Eo *obj, Efl_Ui_Win_Data *_pd EINA_UNUSED
1699} 1699}
1700 1700
1701EOLIAN static Eina_Bool 1701EOLIAN static Eina_Bool
1702_efl_ui_win_elm_widget_on_focus(Eo *obj, Efl_Ui_Win_Data *sd, Elm_Object_Item *item EINA_UNUSED) 1702_efl_ui_win_elm_widget_on_focus_update(Eo *obj, Efl_Ui_Win_Data *sd, Elm_Object_Item *item EINA_UNUSED)
1703{ 1703{
1704 if (!elm_obj_widget_on_focus(efl_super(obj, MY_CLASS), NULL)) 1704 if (!elm_obj_widget_on_focus_update(efl_super(obj, MY_CLASS), NULL))
1705 return EINA_TRUE; 1705 return EINA_TRUE;
1706 1706
1707 if (sd->img_obj) 1707 if (sd->img_obj)