cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=56fb2cf377fabe5429be6d1abbfe1f7b35ccb320

commit 56fb2cf377fabe5429be6d1abbfe1f7b35ccb320
Author: Cedric BAIL <[email protected]>
Date:   Tue May 1 14:24:05 2018 -0700

    eo: improve error message by pointing to the class that is creating trouble.
    
    Differential Revision: https://phab.enlightenment.org/D6079
---
 src/lib/eo/eo_base_class.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 56ebf42a62..d03d88d70c 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -2189,7 +2189,7 @@ composite_obj:
 
 err_parent:
    if (EINA_LIKELY(!pd->allow_parent_unref))
-     ERR("Object '%p' still has a parent at the time of destruction.", obj);
+     ERR("Object '%p' of type '%s' still has a parent at the time of 
destruction.", obj, efl_class_name_get(obj));
    efl_parent_set(obj, NULL);
    goto err_parent_back;
 }

-- 


Reply via email to