From 1d9a94c7e9bb9ef3f3fd19c2dfa5750ac0d97c89 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Fri, 2 May 2014 06:48:27 -0400 Subject: [PATCH] remove duplicated code Summary: this patch removes duplicated code. the event handler of "focus in/out" already added above it. Reviewers: raster, zmike CC: cedric Differential Revision: https://phab.enlightenment.org/D816 --- src/bin/e_comp_object.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index e0460138c..5f859e8f4 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -1892,9 +1892,6 @@ _e_comp_object_constructor(Eo *obj, E_Comp_Object *cw, E_Client *ec) evas_object_intercept_hide_callback_add(obj, _e_comp_intercept_hide, cw); evas_object_intercept_focus_set_callback_add(obj, _e_comp_intercept_focus, cw); - evas_object_event_callback_add(obj, EVAS_CALLBACK_FOCUS_IN, _e_comp_object_smart_focus_in, cw); - evas_object_event_callback_add(obj, EVAS_CALLBACK_FOCUS_OUT, _e_comp_object_smart_focus_out, cw); - cw->comp = ec->comp; evas_object_data_set(obj, "E_Client", ec); cw->ec = ec;