summaryrefslogtreecommitdiff
path: root/src/lib/eo/eo_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eo/eo_private.h')
-rw-r--r--src/lib/eo/eo_private.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/eo/eo_private.h b/src/lib/eo/eo_private.h
index 1c21d2255e..be0a03a09d 100644
--- a/src/lib/eo/eo_private.h
+++ b/src/lib/eo/eo_private.h
@@ -284,16 +284,6 @@ _eo_unref(_Eo_Object *obj)
284 return; 284 return;
285 } 285 }
286 286
287 /* Unparent if parented. */
288 {
289 Eo *eo_id = _eo_id_get(obj);
290 obj->refcount = 2; /* Needs to be high enough that parent set to null won't delete the object. */
291
292 eo_do(eo_id, eo_parent_set(NULL));
293
294 obj->refcount = 0;
295 }
296
297 _eo_del_internal(__FILE__, __LINE__, obj); 287 _eo_del_internal(__FILE__, __LINE__, obj);
298 288
299#ifdef EO_DEBUG 289#ifdef EO_DEBUG