From 5f15a58f4fac37570bd62e5118f2da5d08d8214f Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Fri, 14 Jun 2013 20:53:57 +0900 Subject: [PATCH] [access][naviframe] fix invalid deletion of access object Change-Id: I56a147b3793f38a40bfce26175bdb0ee95d66613 --- src/lib/elc_naviframe.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c index 618b01f..0bff313 100644 --- a/src/lib/elc_naviframe.c +++ b/src/lib/elc_naviframe.c @@ -421,9 +421,14 @@ _access_obj_process(Elm_Naviframe_Item *it, Eina_Bool is_access) if (!ao) return; if (it->title_label || it->subtitle_label) - _elm_access_edje_object_part_object_unregister - (VIEW(it), elm_layout_edje_get(VIEW(it)), TITLE_ACCESS_PART); - evas_object_del(ao); + { + _elm_access_edje_object_part_object_unregister + (VIEW(it), elm_layout_edje_get(VIEW(it)), TITLE_ACCESS_PART); + + /* deletion of access object occurs in + _elm_access_edje_object_part_object_unregister(); */ + ((Elm_Widget_Item *)it)->access_obj = NULL; + } } } -- 2.7.4