there was the request that this needs to be documented, here we are.
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10874
while(pd->items)
efl_del(pd->items->data);
+ // pan is given to edje, which reparents it, which forces us to manually deleting it
efl_del(pd->pan);
efl_invalidate(efl_super(obj, MY_CLASS));
_all_cleanup(obj, pd);
+ //pd pan is given to edje, which reparents it, which forces us to manually deleting it
if (pd->pan)
efl_del(pd->pan);
EOLIAN static void
_efl_ui_scroller_efl_object_invalidate(Eo *obj, Efl_Ui_Scroller_Data *pd)
{
+ // pan is given to edje, which reparents it, which forces us to manually deleting it
efl_event_callback_del(pd->pan_obj, EFL_GFX_ENTITY_EVENT_SIZE_CHANGED,
_efl_ui_scroller_pan_resized_cb, obj);
efl_del(pd->pan_obj);