summaryrefslogtreecommitdiff
path: root/src/lib/eo/eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eo/eo.c')
-rw-r--r--src/lib/eo/eo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 558ee29..9be954f 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -1885,7 +1885,8 @@ efl_unref(const Eo *obj_id)
1885 if (EINA_UNLIKELY(obj->user_refcount == 1 && 1885 if (EINA_UNLIKELY(obj->user_refcount == 1 &&
1886 obj->parent)) 1886 obj->parent))
1887 { 1887 {
1888 CRI("Calling efl_unref instead of efl_del or efl_parent_set(NULL). Temporary fallback in place triggered."); 1888 if (!obj->allow_parent_unref)
1889 CRI("Calling efl_unref instead of efl_del or efl_parent_set(NULL). Temporary fallback in place triggered.");
1889 EO_OBJ_DONE(obj_id); 1890 EO_OBJ_DONE(obj_id);
1890 efl_del(obj_id); 1891 efl_del(obj_id);
1891 return ; 1892 return ;