aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2018-06-25 11:29:26 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-06-25 11:32:47 -0400
commit25aed20aed73a5f894ec76cb1c63edbfe8dbf230 (patch)
tree12ee0e8f9be74b5f65a6c6d5ef3112c1b97c9316
parentelm_panel: Wrap calls to edje_object_part_object_get with freeze/thaw (diff)
downloadefl-25aed20aed73a5f894ec76cb1c63edbfe8dbf230.tar.gz
elm_access: Wrap calls to edje_object_part_object_get with freeze/thaw
Summary: @ref https://phab.enlightenment.org/T6884 Depends on https://phab.enlightenment.org/D6407 Reviewers: zmike, ManMower Reviewed By: zmike Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/T6884 Differential Revision: https://phab.enlightenment.org/D6408
-rw-r--r--src/lib/elementary/elm_access.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_access.c b/src/lib/elementary/elm_access.c
index 566cf492b8..11247e4050 100644
--- a/src/lib/elementary/elm_access.c
+++ b/src/lib/elementary/elm_access.c
@@ -1013,7 +1013,9 @@ _elm_access_edje_object_part_object_register(Evas_Object* obj,
{
Evas_Object *ao, *po;
+ edje_object_freeze((Evas_Object *)eobj);
po = (Evas_Object *)edje_object_part_object_get(eobj, part);
+ edje_object_thaw((Evas_Object *)eobj);
if (!obj || !po) return NULL;
/* check previous access object */
@@ -1034,7 +1036,9 @@ _elm_access_edje_object_part_object_unregister(Evas_Object* obj EINA_UNUSED,
{
Evas_Object *po;
+ edje_object_freeze((Evas_Object *)eobj);
po = (Evas_Object *)edje_object_part_object_get(eobj, part);
+ edje_object_thaw((Evas_Object *)eobj);
if (!po) return;
_access_object_unregister(po);