discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=1d9a94c7e9bb9ef3f3fd19c2dfa5750ac0d97c89

commit 1d9a94c7e9bb9ef3f3fd19c2dfa5750ac0d97c89
Author: Seunghun Lee <[email protected]>
Date:   Fri May 2 06:48:27 2014 -0400

    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 e046013..5f859e8 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;

-- 


Reply via email to