forked from enlightenment/efl
naviframe: Use elm_widget_item_del() when you want to delete the item
data. It will call del_pre_func and free the item data. Special thanks to glima for the report.
This commit is contained in:
parent
404093c701
commit
e7528a2e78
|
@ -1707,10 +1707,7 @@ _item_pop(Eo *obj, void *_pd, va_list *list)
|
|||
{
|
||||
it->ref--;
|
||||
if (it->delete_me)
|
||||
{
|
||||
_item_del_pre_hook(it);
|
||||
_elm_widget_item_free(it);
|
||||
}
|
||||
elm_widget_item_del(it);
|
||||
it->popping = EINA_FALSE;
|
||||
evas_object_unref(obj);
|
||||
|
||||
|
|
Loading…
Reference in New Issue