aboutsummaryrefslogtreecommitdiffstats
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
parentefl_ui_win: Wrap calls to edje_object_part_object_get with freeze/thaw (diff)
downloadefl-70b322b31b99544e25b8b61f4f111a62d46bf2f3.tar.gz
elc_popup: Wrap calls to edje_object_part_object_get with freeze/thaw
Summary: @ref https://phab.enlightenment.org/T6884 Depends on https://phab.enlightenment.org/D6415 Reviewers: zmike, ManMower Reviewed By: zmike Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/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)
static Evas_Object *
_access_object_get(const Evas_Object *obj, const char* part)
{
- Evas_Object *po, *ao;
+ Evas_Object *po, *ao, *o;
ELM_POPUP_DATA_GET(obj, sd);
- po = (Evas_Object *)edje_object_part_object_get
- (elm_layout_edje_get(sd->main_layout), part);
+ o = elm_layout_edje_get(sd->main_layout);
+ 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;