summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2018-06-25 11:29:41 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-06-25 11:32:47 -0400
commit9724f671ed2a40a670e7268c347f4c56fa90d3b4 (patch)
tree465d8d867caaec6fe8689391d8a39e12cb72549e
parent25aed20aed73a5f894ec76cb1c63edbfe8dbf230 (diff)
efl_ui_layout_object: Wrap calls to edje_object_part_object_get with
Summary: freeze/thaw @ref T6884 Depends on D6409 Reviewers: zmike, ManMower Reviewed By: zmike Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T6884 Differential Revision: https://phab.enlightenment.org/D6410
-rw-r--r--src/lib/elementary/efl_ui_layout_object.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_layout_object.c b/src/lib/elementary/efl_ui_layout_object.c
index 1c16f29db4..8d512a0177 100644
--- a/src/lib/elementary/efl_ui_layout_object.c
+++ b/src/lib/elementary/efl_ui_layout_object.c
@@ -324,8 +324,12 @@ _parts_cursors_apply(Efl_Ui_Layout_Object_Data *sd)
324 324
325 EINA_LIST_FOREACH(sd->parts_cursors, l, pc) 325 EINA_LIST_FOREACH(sd->parts_cursors, l, pc)
326 { 326 {
327 Evas_Object *obj = (Evas_Object *)edje_object_part_object_get 327 Evas_Object *obj;
328 (wd->resize_obj, pc->part); 328
329 edje_object_freeze(wd->resize_obj);
330 obj = (Evas_Object *)edje_object_part_object_get
331 (wd->resize_obj, pc->part);
332 edje_object_thaw(wd->resize_obj);
329 333
330 if (!obj) 334 if (!obj)
331 { 335 {
@@ -1745,8 +1749,11 @@ _efl_ui_layout_part_cursor_set(Efl_Ui_Layout_Object_Data *sd, const char *part_n
1745 1749
1746 if (!cursor) return _efl_ui_layout_part_cursor_unset(sd, part_name); 1750 if (!cursor) return _efl_ui_layout_part_cursor_unset(sd, part_name);
1747 1751
1752 edje_object_freeze(wd->resize_obj);
1748 part_obj = (Evas_Object *)edje_object_part_object_get 1753 part_obj = (Evas_Object *)edje_object_part_object_get
1749 (wd->resize_obj, part_name); 1754 (wd->resize_obj, part_name);
1755 edje_object_thaw(wd->resize_obj);
1756
1750 if (!part_obj) 1757 if (!part_obj)
1751 { 1758 {
1752 const char *group, *file; 1759 const char *group, *file;