summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2018-06-25 11:30:01 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-06-25 11:36:51 -0400
commit7a7ab009557683797fb6a35f44bf5d0f3de266b7 (patch)
treec6be5cedce7559c65d549b6e18644ce64184c523
parentf7064f9500f258b36455f198171a5723cd53d647 (diff)
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
-rw-r--r--src/lib/elementary/elc_naviframe.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/elementary/elc_naviframe.c b/src/lib/elementary/elc_naviframe.c
index 98e683cb7b..1777a73576 100644
--- a/src/lib/elementary/elc_naviframe.c
+++ b/src/lib/elementary/elc_naviframe.c
@@ -284,10 +284,12 @@ _item_text_signals_emit(Elm_Naviframe_Item_Data *it)
284static Evas_Object * 284static Evas_Object *
285_access_object_get(Elm_Naviframe_Item_Data *it, const char* part) 285_access_object_get(Elm_Naviframe_Item_Data *it, const char* part)
286{ 286{
287 Evas_Object *po, *ao; 287 Evas_Object *po, *ao, *o;
288 288
289 po = (Evas_Object *)edje_object_part_object_get 289 o = elm_layout_edje_get(VIEW(it));
290 (elm_layout_edje_get(VIEW(it)), part); 290 edje_object_freeze(o);
291 po = (Evas_Object *)edje_object_part_object_get(o, part);
292 edje_object_thaw(o);
291 ao = evas_object_data_get(po, "_part_access_obj"); 293 ao = evas_object_data_get(po, "_part_access_obj");
292 294
293 return ao; 295 return ao;