elm_win: remove duplicated focused/unfocused event call
authorHosang Kim <hosang12.kim@samsung.com>
Tue, 15 Nov 2016 12:34:36 +0000 (21:34 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 17 Nov 2016 08:07:49 +0000 (17:07 +0900)
These are already called in elm_widget's on_focus.

@fix

by WooHyun Jung <wh0705.jung@samsung.com>
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: Ia2ea8c4faec27dfd7ed2d7818d4549439ef78a5c

src/lib/elm_win.c

index 26ff9e4..081a34c 100644 (file)
@@ -1219,7 +1219,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_do(obj, eo_event_callback_call(ELM_WIDGET_EVENT_FOCUSED, NULL));
    sd->focus_highlight.cur.visible = EINA_TRUE;
    _elm_win_focus_highlight_reconfigure_job_start(sd);
    if (sd->frame_obj)
@@ -1253,7 +1252,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_do(obj, eo_event_callback_call(ELM_WIDGET_EVENT_UNFOCUSED, NULL));
    sd->focus_highlight.cur.visible = EINA_FALSE;
    _elm_win_focus_highlight_reconfigure_job_start(sd);
    if (sd->frame_obj)