aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_widget.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2017-11-20 22:56:43 +0100
committerMarcel Hollerbach <marcel@osg.samsung.com>2017-11-21 20:37:21 +0100
commit78664198bd3509a8eb36cb26f2b9655d4d89d840 (patch)
tree0e2d30932f5a4ca7489b2080dc332128167facb8 /src/lib/elementary/elm_widget.c
parentprefs elm_entry: change to the new event (diff)
downloadefl-78664198bd3509a8eb36cb26f2b9655d4d89d840.tar.gz
elm_widget: remove focused unfocused events
the ones form efl.ui.focus.object are now taken.
Diffstat (limited to 'src/lib/elementary/elm_widget.c')
-rw-r--r--src/lib/elementary/elm_widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 8d36ee3535..8ef0713bfc 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -5034,9 +5034,9 @@ static void
_focus_event_changed(void *data EINA_UNUSED, const Efl_Event *event)
{
if (efl_ui_focus_object_focus_get(event->object))
- efl_event_callback_legacy_call(event->object, EFL_UI_WIDGET_EVENT_FOCUSED, NULL);
+ evas_object_smart_callback_call(event->object, "focused", NULL);
else
- efl_event_callback_legacy_call(event->object, EFL_UI_WIDGET_EVENT_UNFOCUSED, NULL);
+ evas_object_smart_callback_call(event->object, "unfocused", NULL);
}
EOLIAN static Eo *