summaryrefslogtreecommitdiff
path: root/src/lib/eo/eo_base_class.c
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2018-03-19 16:47:28 -0700
committerCedric Bail <cedric@osg.samsung.com>2018-03-19 16:47:28 -0700
commit2a14a283e8e68ccdf55b45d0d19840d21151af3d (patch)
tree8bea71fb10fde8ddcc32088ed1e908976754e348 /src/lib/eo/eo_base_class.c
parent21164b5a56f2ff0fbe8e60f85f7070212cbdfe38 (diff)
eo: slight improvement of invalidate code as parent_set(NULL) will be valid on an invalidated object.
Diffstat (limited to 'src/lib/eo/eo_base_class.c')
-rw-r--r--src/lib/eo/eo_base_class.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 872ae3c..3840b18 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -2173,8 +2173,7 @@ static void
2173_efl_object_invalidate(Eo *obj, Efl_Object_Data *pd) 2173_efl_object_invalidate(Eo *obj, Efl_Object_Data *pd)
2174{ 2174{
2175 _efl_pending_futures_clear(pd); 2175 _efl_pending_futures_clear(pd);
2176 if (efl_parent_get(obj)) 2176 efl_parent_set(obj, NULL);
2177 efl_parent_set(obj, NULL);
2178 pd->invalidate = EINA_TRUE; 2177 pd->invalidate = EINA_TRUE;
2179} 2178}
2180 2179