summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2018-06-25 11:30:11 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-06-25 11:36:51 -0400
commit42d97d0420455622d0dff70bb83f2c5eca480c46 (patch)
tree0003a56be34812dbe041349b0161e498540c0e7c
parent7a7ab009557683797fb6a35f44bf5d0f3de266b7 (diff)
efl_ui_win: Wrap calls to edje_object_part_object_get with freeze/thaw
Summary: @ref T6884 Depends on D6414 Reviewers: zmike, ManMower Reviewed By: zmike Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T6884 Differential Revision: https://phab.enlightenment.org/D6415
-rw-r--r--src/lib/elementary/efl_ui_win.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 6bd5b4da06..8752d90aca 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -4354,7 +4354,11 @@ static inline void
4354_elm_object_part_cursor_set(Evas_Object *obj, Evas_Object *edj, 4354_elm_object_part_cursor_set(Evas_Object *obj, Evas_Object *edj,
4355 const char *part, const char *cursor) 4355 const char *part, const char *cursor)
4356{ 4356{
4357 Evas_Object *sub = (Evas_Object *) edje_object_part_object_get(edj, part); 4357 Evas_Object *sub;
4358
4359 edje_object_freeze(edj);
4360 sub = (Evas_Object *)edje_object_part_object_get(edj, part);
4361 edje_object_thaw(edj);
4358 if (!sub) return; 4362 if (!sub) return;
4359 4363
4360 elm_object_sub_cursor_set(sub, obj, cursor); 4364 elm_object_sub_cursor_set(sub, obj, cursor);