diff options
author | Daniel Zaoui <daniel.zaoui@yahoo.com> | 2016-12-05 09:21:51 +0200 |
---|---|---|
committer | Daniel Zaoui <daniel.zaoui@yahoo.com> | 2017-01-18 21:55:25 +0200 |
commit | d3c61f7228899cb9a378a9181232f6a1502e97ac (patch) | |
tree | c56b475c1798aaf3b2de90a23f6c235a9a33cac5 | |
parent | 036a9c8c8628db791b367a82ecfa9713808c2c72 (diff) | |
download | efl-d3c61f7228899cb9a378a9181232f6a1502e97ac.tar.gz |
Revert temporarily "Debug: Add Eo stuff"
This reverts commit 8f92ef06d9397a98637a60a16c2cebbdd86fde70.
-rw-r--r-- | src/lib/eo/Eo.h | 3 | ||||
-rw-r--r-- | src/lib/eo/eo.c | 22 |
2 files changed, 0 insertions, 25 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h index 1ed3b3d2d3..bbd53ff4a5 100644 --- a/src/lib/eo/Eo.h +++ b/src/lib/eo/Eo.h @@ -232,9 +232,6 @@ typedef Eo Efl_Future; */ EAPI extern const Eina_Value_Type *EFL_DBG_INFO_TYPE; -EAPI const Eina_List * -eo_debug_objects_list_get(void); - /** * Creates a list inside debug info list. * @param[in] list list where to append diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index bdcabc060d..a8abd3ce2c 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -92,27 +92,6 @@ static void _vtable_init(Eo_Vtable *vtable, size_t size); (_eo_classes[_UNMASK_ID(id) - 1]) : NULL); \ }) -static Eina_List *_objs_list = NULL; /* List of Eo used for debug */ - -EAPI const Eina_List * -eo_debug_objects_list_get(void) -{ - return _objs_list; -} - -static void -_debug_obj_del(void *data EINA_UNUSED, const Efl_Event *ev) -{ - _objs_list = eina_list_remove(_objs_list, ev->object); -} - -static void -_debug_object_add(Eo *obj) -{ - _objs_list = eina_list_append(_objs_list, obj); - efl_event_callback_add(obj, EFL_EVENT_DEL, _debug_obj_del, NULL); -} - static inline void _vtable_chain2_unref(Dich_Chain2 *chain) { @@ -973,7 +952,6 @@ _efl_add_end(Eo *eo_id, Eina_Bool is_ref, Eina_Bool is_fallback) _efl_add_fallback_stack_pop(); } - _debug_object_add(ret); return ret; } |