summaryrefslogtreecommitdiff
path: root/src/lib/eo/eo_base_class.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-03-30 09:53:59 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-03-30 09:53:59 -0700
commit9072c9a37a9292990ec9120fe2f0cf06061f4aa1 (patch)
tree55b1b6d35efca29f72191267e9458d1a7f35fb86 /src/lib/eo/eo_base_class.c
parent79b283ab94a463c99a3ffeaedda2f4f268479a01 (diff)
eo: add events when object get invalidated and loose all its reference matching other lifecycle events.
Diffstat (limited to 'src/lib/eo/eo_base_class.c')
-rw-r--r--src/lib/eo/eo_base_class.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 183ed0e..4dfde15 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -2173,14 +2173,17 @@ _efl_object_finalize(Eo *obj, Efl_Object_Data *pd EINA_UNUSED)
2173static void 2173static void
2174_efl_object_invalidate(Eo *obj, Efl_Object_Data *pd) 2174_efl_object_invalidate(Eo *obj, Efl_Object_Data *pd)
2175{ 2175{
2176 efl_event_callback_call(obj, EFL_EVENT_INVALIDATE, NULL);
2177
2176 _efl_pending_futures_clear(pd); 2178 _efl_pending_futures_clear(pd);
2177 efl_parent_set(obj, NULL); 2179 efl_parent_set(obj, NULL);
2178 pd->invalidate = EINA_TRUE; 2180 pd->invalidate = EINA_TRUE;
2179} 2181}
2180 2182
2181static void 2183static void
2182_efl_object_noref(Eo *obj EINA_UNUSED, Efl_Object_Data *pd EINA_UNUSED) 2184_efl_object_noref(Eo *obj, Efl_Object_Data *pd EINA_UNUSED)
2183{ 2185{
2186 efl_event_callback_call(obj, EFL_EVENT_NOREF, NULL);
2184} 2187}
2185 2188
2186EOLIAN static void 2189EOLIAN static void