summaryrefslogtreecommitdiff
path: root/src/lib/eo/eo_base_class.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-05-28 21:38:51 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-28 21:50:17 -0700
commit608575f5bdbbfa77a7ce9278807a12a04c64858f (patch)
treea88083d7cc1b7d28982a9b720eac7ceeebacaf51 /src/lib/eo/eo_base_class.c
parent665e88f8b4621190a9a00c1262dd6a63a8c8445c (diff)
eo: do not return efl_invalidated true when its not true
Summary: the object is invalidated AFTER the parent is lost, (thats what the doc says). Returning invalidated as true when the parent is still present is thus not correctly. Depends on D6222 Reviewers: cedric, zmike, JackDanielZ Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6223 Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Diffstat (limited to 'src/lib/eo/eo_base_class.c')
-rw-r--r--src/lib/eo/eo_base_class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 815d6ba..e57a245 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -815,7 +815,7 @@ _efl_object_invalidated_get(const Eo *obj_id, Efl_Object_Data *pd)
815{ 815{
816 Eina_Bool invalidate; 816 Eina_Bool invalidate;
817 EO_OBJ_POINTER_RETURN_VAL(obj_id, obj, EINA_TRUE); 817 EO_OBJ_POINTER_RETURN_VAL(obj_id, obj, EINA_TRUE);
818 invalidate = obj->invalidate || obj->is_invalidating; 818 invalidate = obj->invalidate;
819 EO_OBJ_DONE(obj_id); 819 EO_OBJ_DONE(obj_id);
820 if (!invalidate && pd && pd->parent) 820 if (!invalidate && pd && pd->parent)
821 return efl_invalidated_get(pd->parent); 821 return efl_invalidated_get(pd->parent);