widget's sub objects and callbacks should be deleted in
efl_object_invalidate instead of efl_object_destructor.
@fix
}
EOLIAN static void
-_efl_ui_list_efl_object_destructor(Eo *obj, Efl_Ui_List_Data *pd)
+_efl_ui_list_efl_object_invalidate(Eo *obj, Efl_Ui_List_Data *pd)
{
_scroll_edje_object_detach(obj);
efl_del(pd->box);
pd->box = NULL;
+
efl_del(pd->pan);
pd->pan = NULL;
+
efl_del(pd->smanager);
pd->smanager = NULL;
- efl_destructor(efl_super(obj, MY_CLASS));
+ efl_invalidate(efl_super(obj, MY_CLASS));
}
EOLIAN static void
//Efl.Object
Efl.Object.constructor;
Efl.Object.finalize;
- Efl.Object.destructor;
+ Efl.Object.invalidate;
//Efl.Canvas
Efl.Canvas.Group.group_calculate;