woohyun pushed a commit to branch master.

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

commit f24dce9bc9da97170d9c1df423be33d069433933
Author: WooHyun Jung <wh0705.j...@samsung.com>
Date:   Sat Apr 16 10:37:34 2016 +0900

    elm_win: remove duplicated focused/unfocused event call
    
    These are already called in elm_widget's on_focus.
    
    @fix
---
 src/lib/elementary/elm_win.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/elementary/elm_win.c b/src/lib/elementary/elm_win.c
index c93c819..ba8089b 100644
--- a/src/lib/elementary/elm_win.c
+++ b/src/lib/elementary/elm_win.c
@@ -1116,7 +1116,6 @@ _elm_win_focus_in(Ecore_Evas *ee)
    // FIXME: the event is deprecated but still in use.
    // Has to be removed in EFL2.0
    evas_object_smart_callback_call(obj, SIG_FOCUS_IN, NULL);
-   eo_event_callback_call(obj, ELM_WIDGET_EVENT_FOCUSED, NULL);
    sd->focus_highlight.cur.visible = EINA_TRUE;
    _elm_win_focus_highlight_reconfigure_job_start(sd);
    if (sd->frame_obj)
@@ -1151,7 +1150,6 @@ _elm_win_focus_out(Ecore_Evas *ee)
    // FIXME: the event is deprecated but still in use.
    // Has to be removed in EFL2.0
    evas_object_smart_callback_call(obj, SIG_FOCUS_OUT, NULL);
-   eo_event_callback_call(obj, ELM_WIDGET_EVENT_UNFOCUSED, NULL);
    sd->focus_highlight.cur.visible = EINA_FALSE;
    _elm_win_focus_highlight_reconfigure_job_start(sd);
    if (sd->frame_obj)

-- 


Reply via email to