seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=c38ba2ee7c4bf30395fb3f67ea9cc8d3f06c1d45

commit c38ba2ee7c4bf30395fb3f67ea9cc8d3f06c1d45
Author: Daniel Juyung Seo <[email protected]>
Date:   Wed Jan 22 23:33:16 2014 +0900

    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.
---
 src/lib/elc_naviframe.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c
index c89fd0a..53095c8 100644
--- a/src/lib/elc_naviframe.c
+++ b/src/lib/elc_naviframe.c
@@ -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);
 

-- 


Reply via email to