Summary:
EFL_EVENT_DEL is wrong here, as the callback uses a parent, which is
gone at the time of EFL_EVENT_DEL.
Reviewers: zmike, cedric, stefan_schmidt
Reviewed By: zmike
Subscribers: cedric, #committers, zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6225
}
static void
-_on_child_del(void *data, const Efl_Event *event)
+_on_child_invalidate(void *data, const Efl_Event *event)
{
Evas_Object *table = data;
evas_object_table_unpack(table, event->object);
}
EFL_CALLBACKS_ARRAY_DEFINE(evas_object_table_callbacks,
- { EFL_EVENT_DEL, _on_child_del },
+ { EFL_EVENT_INVALIDATE, _on_child_invalidate },
{ EFL_GFX_ENTITY_EVENT_CHANGE_SIZE_HINTS, _on_child_hints_changed }
);