hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=3db7a0a7c8c30aca30f77fb238a83cbb9ee39fdb

commit 3db7a0a7c8c30aca30f77fb238a83cbb9ee39fdb
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Sun May 1 21:21:40 2016 +0900

    remove EINA_REF
    
    This looks quitely unnecesary. go away from here.
---
 src/lib/enventor_smart.c | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/src/lib/enventor_smart.c b/src/lib/enventor_smart.c
index 903f3d0..0162216 100644
--- a/src/lib/enventor_smart.c
+++ b/src/lib/enventor_smart.c
@@ -19,7 +19,6 @@
 
 typedef struct _Enventor_Object_Data
 {
-   EINA_REFCOUNT;
    Evas_Object *obj;
    Eina_List *items;
 
@@ -229,16 +228,13 @@ EOLIAN static void
 _enventor_object_evas_object_smart_del(Evas_Object *obj EINA_UNUSED,
                                        Enventor_Object_Data *pd)
 {
-   EINA_REFCOUNT_UNREF(pd)
-     {
-        eina_stringshare_del(pd->group_name);
-        autocomp_term();
-        edit_term(pd->ed);
-        ecore_event_handler_del(pd->key_down_handler);
-        ecore_event_handler_del(pd->key_up_handler);
-        edj_mgr_term();
-        build_term();
-     }
+   eina_stringshare_del(pd->group_name);
+   autocomp_term();
+   edit_term(pd->ed);
+   ecore_event_handler_del(pd->key_down_handler);
+   ecore_event_handler_del(pd->key_up_handler);
+   edj_mgr_term();
+   build_term();
 }
 
 EOLIAN static void

-- 


Reply via email to