From 608eadc67bfb2463004e4e2dec26d55c87451a1c Mon Sep 17 00:00:00 2001 From: "jae_hyun.cho" Date: Thu, 2 May 2013 14:26:05 +0900 Subject: [PATCH] [naviframe] Fix to execute elm_widget_item_del in registered pop_cb Change-Id: Idb27a66d1ed99552e2a07f96e63674d2ee23f428 --- src/lib/elc_naviframe.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c index 14bf17e..4a5b453 100644 --- a/src/lib/elc_naviframe.c +++ b/src/lib/elc_naviframe.c @@ -1795,7 +1795,11 @@ elm_naviframe_item_pop(Evas_Object *obj) if (!it->pop_cb(it->pop_data, (Elm_Object_Item *)it)) { it->ref--; - if (it->delete_me) elm_widget_item_del(it); + if (it->delete_me) + { + _item_del_pre_hook(it); + _elm_widget_item_free(it); + } it->popping = EINA_FALSE; evas_object_unref(obj); -- 2.7.4