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--;
|
it->ref--;
|
||||||
if (it->delete_me)
|
if (it->delete_me)
|
||||||
{
|
elm_widget_item_del(it);
|
||||||
_item_del_pre_hook(it);
|
|
||||||
_elm_widget_item_free(it);
|
|
||||||
}
|
|
||||||
it->popping = EINA_FALSE;
|
it->popping = EINA_FALSE;
|
||||||
evas_object_unref(obj);
|
evas_object_unref(obj);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue