elc_naviframe: Wrap calls to edje_object_part_object_get with

Summary:
freeze/thaw

@ref T6884

Depends on D6413

Reviewers: zmike, ManMower

Reviewed By: zmike

Subscribers: cedric, #committers

Tags: #efl

Maniphest Tasks: T6884

Differential Revision: https://phab.enlightenment.org/D6414
This commit is contained in:
Chris Michael 2018-06-25 11:30:01 -04:00 committed by Mike Blumenkrantz
parent f7064f9500
commit 7a7ab00955
1 changed files with 5 additions and 3 deletions

View File

@ -284,10 +284,12 @@ _item_text_signals_emit(Elm_Naviframe_Item_Data *it)
static Evas_Object *
_access_object_get(Elm_Naviframe_Item_Data *it, const char* part)
{
Evas_Object *po, *ao;
Evas_Object *po, *ao, *o;
po = (Evas_Object *)edje_object_part_object_get
(elm_layout_edje_get(VIEW(it)), part);
o = elm_layout_edje_get(VIEW(it));
edje_object_freeze(o);
po = (Evas_Object *)edje_object_part_object_get(o, part);
edje_object_thaw(o);
ao = evas_object_data_get(po, "_part_access_obj");
return ao;