From: Shinwoo Kim Date: Fri, 14 Jun 2013 11:53:57 +0000 (+0900) Subject: [access][naviframe] fix invalid deletion of access object X-Git-Tag: accepted/tizen/20130927.071315^2~162 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f15a58f4fac37570bd62e5118f2da5d08d8214f;p=profile%2Fmobile%2Felementary.git [access][naviframe] fix invalid deletion of access object Change-Id: I56a147b3793f38a40bfce26175bdb0ee95d66613 --- 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; + } } }