bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9d3559cd6b59cff4945478f0c2a1ab800b542ce5

commit 9d3559cd6b59cff4945478f0c2a1ab800b542ce5
Author: Marcel Hollerbach <[email protected]>
Date:   Wed Sep 27 01:22:41 2017 +0200

    elm_fileselector_entry: remove old api!
---
 src/lib/elementary/elc_fileselector_entry.c  | 48 ----------------------------
 src/lib/elementary/elm_fileselector_entry.eo |  3 --
 2 files changed, 51 deletions(-)

diff --git a/src/lib/elementary/elc_fileselector_entry.c 
b/src/lib/elementary/elc_fileselector_entry.c
index 886767e5ff..08c0d9f7a4 100644
--- a/src/lib/elementary/elc_fileselector_entry.c
+++ b/src/lib/elementary/elc_fileselector_entry.c
@@ -159,54 +159,6 @@ _elm_fileselector_entry_elm_layout_sizing_eval(Eo *obj, 
Elm_Fileselector_Entry_D
    evas_object_size_hint_max_set(obj, -1, -1);
 }
 
-EOLIAN static Eina_Bool
-_elm_fileselector_entry_elm_widget_focus_next_manager_is(Eo *obj EINA_UNUSED, 
Elm_Fileselector_Entry_Data *sd EINA_UNUSED)
-{
-   return EINA_TRUE;
-}
-
-EOLIAN static Eina_Bool
-_elm_fileselector_entry_elm_widget_focus_direction_manager_is(Eo *obj 
EINA_UNUSED, Elm_Fileselector_Entry_Data *sd EINA_UNUSED)
-{
-   return EINA_FALSE;
-}
-
-EOLIAN static Eina_Bool
-_elm_fileselector_entry_elm_widget_focus_next(Eo *obj EINA_UNUSED, 
Elm_Fileselector_Entry_Data *sd, Elm_Focus_Direction dir, Evas_Object **next, 
Elm_Object_Item **next_item)
-{
-   Evas_Object *chain[2];
-   Evas_Object *to_focus;
-   unsigned char i;
-
-   /* Direction */
-   if (dir == ELM_FOCUS_PREVIOUS)
-     {
-        chain[0] = sd->button;
-        chain[1] = sd->entry;
-     }
-   else if (dir == ELM_FOCUS_NEXT)
-     {
-        chain[0] = sd->entry;
-        chain[1] = sd->button;
-     }
-   else
-     return EINA_FALSE;
-
-   i = elm_widget_focus_get(chain[1]);
-
-   if (elm_obj_widget_focus_next_get(chain[i], dir, next, next_item)) return 
EINA_TRUE;
-
-   i = !i;
-
-   if (elm_obj_widget_focus_next_get(chain[i], dir, &to_focus, next_item))
-     {
-        *next = to_focus;
-        return !!i;
-     }
-
-   return EINA_FALSE;
-}
-
 EOLIAN static Efl_Ui_Theme_Apply
 _elm_fileselector_entry_elm_widget_theme_apply(Eo *obj, 
Elm_Fileselector_Entry_Data *sd)
 {
diff --git a/src/lib/elementary/elm_fileselector_entry.eo 
b/src/lib/elementary/elm_fileselector_entry.eo
index 585d519162..df857f241e 100644
--- a/src/lib/elementary/elm_fileselector_entry.eo
+++ b/src/lib/elementary/elm_fileselector_entry.eo
@@ -7,10 +7,7 @@ class Elm.Fileselector_Entry (Efl.Ui.Layout, 
Elm.Interface.Fileselector,
       class.constructor;
       Efl.Object.constructor;
       Elm.Widget.theme_apply;
-      Elm.Widget.focus_next_manager_is;
-      Elm.Widget.focus_next;
       Elm.Widget.on_disabled_update;
-      Elm.Widget.focus_direction_manager_is;
       Elm.Interface.Fileselector.selected_model_get;
       Elm.Interface.Fileselector.selected_model_set;
       Elm.Interface.Fileselector.folder_only { get; set; }

-- 


Reply via email to