summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2018-06-25 11:30:15 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-06-25 11:36:51 -0400
commit70b322b31b99544e25b8b61f4f111a62d46bf2f3 (patch)
treea94c55b7d33347b59aa748144823b8a7d274cb6d
parent42d97d0420455622d0dff70bb83f2c5eca480c46 (diff)
elc_popup: Wrap calls to edje_object_part_object_get with freeze/thaw
Summary: @ref T6884 Depends on D6415 Reviewers: zmike, ManMower Reviewed By: zmike Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T6884 Differential Revision: https://phab.enlightenment.org/D6416
-rw-r--r--src/lib/elementary/elc_popup.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/elementary/elc_popup.c b/src/lib/elementary/elc_popup.c
index 60905044f1..47a0dc1c35 100644
--- a/src/lib/elementary/elc_popup.c
+++ b/src/lib/elementary/elc_popup.c
@@ -122,11 +122,13 @@ _hide_effect_finished_cb(void *data, const Efl_Event *event EINA_UNUSED)
122static Evas_Object * 122static Evas_Object *
123_access_object_get(const Evas_Object *obj, const char* part) 123_access_object_get(const Evas_Object *obj, const char* part)
124{ 124{
125 Evas_Object *po, *ao; 125 Evas_Object *po, *ao, *o;
126 ELM_POPUP_DATA_GET(obj, sd); 126 ELM_POPUP_DATA_GET(obj, sd);
127 127
128 po = (Evas_Object *)edje_object_part_object_get 128 o = elm_layout_edje_get(sd->main_layout);
129 (elm_layout_edje_get(sd->main_layout), part); 129 edje_object_freeze(o);
130 po = (Evas_Object *)edje_object_part_object_get(o, part);
131 edje_object_thaw(o);
130 ao = evas_object_data_get(po, "_part_access_obj"); 132 ao = evas_object_data_get(po, "_part_access_obj");
131 133
132 return ao; 134 return ao;