jpeg pushed a commit to branch master.

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

commit f75d2e6be22187fd7428290469ec5a93bbc88200
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Tue Oct 10 18:53:43 2017 +0900

    widget: Make focus_mouse_up_handle internal
    
    I don't think this belongs to the public EO API.
    
    Ref T5363
---
 src/lib/elementary/elm_widget.c  | 7 +++++--
 src/lib/elementary/elm_widget.eo | 4 ----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index f7e2aca30b..2c32e6631b 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -4332,9 +4332,12 @@ _elm_widget_focus_hide_handle(Eo *obj, 
Elm_Widget_Smart_Data *_pd EINA_UNUSED)
    _if_focused_revert(obj, EINA_TRUE);
 }
 
-EOLIAN static void
-_elm_widget_focus_mouse_up_handle(Eo *obj, Elm_Widget_Smart_Data *pd)
+/* internal */
+EAPI void
+elm_widget_focus_mouse_up_handle(Eo *obj)
 {
+   Elm_Widget_Smart_Data *pd = efl_data_scope_get(obj, MY_CLASS);
+
    if (!_is_focusable(obj)) return;
 
    elm_obj_widget_focus_steal(obj, NULL);
diff --git a/src/lib/elementary/elm_widget.eo b/src/lib/elementary/elm_widget.eo
index 2479139f50..59ab4ea447 100644
--- a/src/lib/elementary/elm_widget.eo
+++ b/src/lib/elementary/elm_widget.eo
@@ -369,10 +369,6 @@ abstract Elm.Widget (Efl.Canvas.Group, 
Elm.Interface.Atspi_Accessible,
          }
          return: bool; [[$true if this widget can handle focus, $false 
otherwise]]
       }
-      /* FIXME: Needs better doc... maybe merge with widget_event? */
-      focus_mouse_up_handle {
-         [[Handle focus mouse up]]
-      }
 
       /* Scroll API. */
       @property on_show_region_hook @protected {

-- 


Reply via email to