summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/eo/eo_base_class.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index b2ee9a4a68..a3d62c079f 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -666,6 +666,8 @@ _efl_object_parent_set(Eo *obj, Efl_Object_Data *pd, Eo *parent_id)
666 ((parent_id) && (!_eo_id_domain_compatible(parent_id, obj)))) 666 ((parent_id) && (!_eo_id_domain_compatible(parent_id, obj))))
667 return; 667 return;
668 668
669 EO_OBJ_POINTER_GOTO(obj, eo_obj, err_impossible);
670
669 // Invalidated object can not be bring back to life 671 // Invalidated object can not be bring back to life
670 if (pd->invalidate) 672 if (pd->invalidate)
671 { 673 {
@@ -673,7 +675,6 @@ _efl_object_parent_set(Eo *obj, Efl_Object_Data *pd, Eo *parent_id)
673 return ; 675 return ;
674 } 676 }
675 677
676 EO_OBJ_POINTER(obj, eo_obj);
677 if (pd->parent) 678 if (pd->parent)
678 { 679 {
679 Efl_Object_Data *old_parent_pd = efl_data_scope_get(pd->parent, 680 Efl_Object_Data *old_parent_pd = efl_data_scope_get(pd->parent,