aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_widget.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2017-11-16 18:12:17 +0100
committerMarcel Hollerbach <marcel@osg.samsung.com>2017-11-17 16:08:14 +0100
commitf8badf1c067dfcf75bdaf7b1dacb7c99d58294e8 (patch)
tree9e4f1d1dc6fccccedd0d985d195f0ed1bc4e1ce7 /src/lib/elementary/elm_widget.c
parentelementary: stop using elm_widget_focus_set (diff)
downloadefl-f8badf1c067dfcf75bdaf7b1dacb7c99d58294e8.tar.gz
elm_widget: remove focus set
calling this function was not working at all, so its gone now
Diffstat (limited to 'src/lib/elementary/elm_widget.c')
-rw-r--r--src/lib/elementary/elm_widget.c53
1 files changed, 0 insertions, 53 deletions
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 73a1ece629..cefb4d0e11 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -2378,59 +2378,6 @@ elm_widget_parent_highlight_set(Eo *obj, Eina_Bool highlighted)
sd->highlighted = highlighted;
}
-EOLIAN static void
-_elm_widget_focus_set(Eo *obj, Elm_Widget_Smart_Data *sd, Eina_Bool focus)
-{
- if (!sd->focused)
- {
- focus_order++;
- sd->focus_order = focus_order;
- sd->focused = EINA_TRUE;
- efl_ui_widget_on_focus_update(obj, NULL);
- }
-
- if (focus)
- {
- if ((_is_focusable(sd->resize_obj)) &&
- (!elm_widget_disabled_get(sd->resize_obj)))
- {
- elm_widget_focus_set(sd->resize_obj, focus);
- }
- else
- {
- const Eina_List *l;
- Evas_Object *child;
-
- EINA_LIST_FOREACH(sd->subobjs, l, child)
- {
- if (!_elm_widget_is(child)) continue;
- if ((_is_focusable(child)) &&
- (!elm_widget_disabled_get(child)))
- {
- elm_widget_focus_set(child, focus);
- break;
- }
- }
- }
- }
- else
- {
- const Eina_List *l;
- Evas_Object *child;
-
- EINA_LIST_REVERSE_FOREACH(sd->subobjs, l, child)
- {
- if (!_elm_widget_is(child)) continue;
- if ((_is_focusable(child)) &&
- (!elm_widget_disabled_get(child)))
- {
- elm_widget_focus_set(child, focus);
- break;
- }
- }
- }
-}
-
EOLIAN static Evas_Object*
_elm_widget_widget_parent_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
{