jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5e7de75914c1f99e37228b6fb7db309eb3072ab0

commit 5e7de75914c1f99e37228b6fb7db309eb3072ab0
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Wed Aug 23 17:01:03 2017 +0900

    widget: Remove focus_tree_unfocusable_handle (EO)
    
    Ref T5363
---
 src/lib/elementary/elm_widget.c  | 9 +++++----
 src/lib/elementary/elm_widget.eo | 3 ---
 src/lib/elementary/elm_widget.h  | 1 -
 3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 29ec6946c9..25631b7163 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -110,6 +110,7 @@ _on_sub_obj_del(void *data, const Efl_Event *event);
 static void
 _on_sub_obj_hide(void *data, const Efl_Event *event);
 static void _propagate_event(void *data, const Efl_Event *eo_event);
+static void _elm_widget_focus_tree_unfocusable_handle(Eo *obj);
 
 EFL_CALLBACKS_ARRAY_DEFINE(elm_widget_subitems_callbacks,
                           { EFL_EVENT_DEL, _on_sub_obj_del },
@@ -1774,7 +1775,7 @@ _elm_widget_tree_unfocusable_set(Eo *obj, 
Elm_Widget_Smart_Data *sd, Eina_Bool t
    tree_unfocusable = !!tree_unfocusable;
    if (sd->tree_unfocusable == tree_unfocusable) return;
    sd->tree_unfocusable = tree_unfocusable;
-   elm_widget_focus_tree_unfocusable_handle(obj);
+   _elm_widget_focus_tree_unfocusable_handle(obj);
 
    //focus state eval on all children
    _full_eval_children(obj, sd);
@@ -4333,8 +4334,8 @@ _elm_widget_focus_mouse_up_handle(Eo *obj, 
Elm_Widget_Smart_Data *pd)
      }
 }
 
-EOLIAN static void
-_elm_widget_focus_tree_unfocusable_handle(Eo *obj, Elm_Widget_Smart_Data *_pd 
EINA_UNUSED)
+static void
+_elm_widget_focus_tree_unfocusable_handle(Eo *obj)
 {
    if (!elm_widget_parent_get(obj))
      elm_widget_focused_object_clear(obj);
@@ -4345,7 +4346,7 @@ _elm_widget_focus_tree_unfocusable_handle(Eo *obj, 
Elm_Widget_Smart_Data *_pd EI
 EOLIAN static void
 _elm_widget_focus_disabled_handle(Eo *obj, Elm_Widget_Smart_Data *_pd 
EINA_UNUSED)
 {
-   elm_widget_focus_tree_unfocusable_handle(obj);
+   _elm_widget_focus_tree_unfocusable_handle(obj);
 }
 
 EOLIAN static unsigned int
diff --git a/src/lib/elementary/elm_widget.eo b/src/lib/elementary/elm_widget.eo
index ab56301dbc..43a69576bd 100644
--- a/src/lib/elementary/elm_widget.eo
+++ b/src/lib/elementary/elm_widget.eo
@@ -509,9 +509,6 @@ abstract Elm.Widget (Efl.Canvas.Group, 
Elm.Interface.Atspi_Accessible,
             @in dir: Elm.Focus_Direction; [[Focus direction]]
          }
       }
-      focus_tree_unfocusable_handle {
-         [[Handle focus tree unfocusable]]
-      }
       focus_custom_chain_prepend {
          [[Prepend object to custom focus chain.
 
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h
index 2b1535968f..db7bff407d 100644
--- a/src/lib/elementary/elm_widget.h
+++ b/src/lib/elementary/elm_widget.h
@@ -754,7 +754,6 @@ EAPI Eina_List       *elm_widget_stringlist_get(const char 
*str);
 EAPI void             elm_widget_stringlist_free(Eina_List *list);
 EAPI void             elm_widget_focus_hide_handle(Evas_Object *obj);
 EAPI void             elm_widget_focus_mouse_up_handle(Evas_Object *obj);
-EAPI void             elm_widget_focus_tree_unfocusable_handle(Evas_Object 
*obj);
 EAPI void             elm_widget_focus_disabled_handle(Evas_Object *obj);
 EAPI unsigned int     elm_widget_focus_order_get(const Evas_Object *obj);
 EAPI void             elm_widget_activate(Evas_Object *obj, Elm_Activate act);

-- 


Reply via email to