elementary: rely on inheritance instead of faking efl_del behavior.

Differential Revision: https://phab.enlightenment.org/D6072
This commit is contained in:
Cedric BAIL 2018-04-17 09:48:51 -07:00
parent b265c5c887
commit 95f8bf2ebd
1 changed files with 1 additions and 2 deletions

View File

@ -4104,8 +4104,7 @@ _elm_widget_item_efl_object_del(const Eo *eo_item, Elm_Widget_Item_Data *item)
//Widget item delete callback
elm_wdg_item_del_pre(item->eo_obj);
efl_parent_set((Eo*)eo_item, NULL);
return;
efl_del(efl_super(eo_item, ELM_WIDGET_ITEM_CLASS));
}
EOLIAN static void