aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.c
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 /src/lib/elementary/efl_ui_win.c
parentelc_naviframe: Wrap calls to edje_object_part_object_get with (diff)
downloadefl-42d97d0420455622d0dff70bb83f2c5eca480c46.tar.gz
efl_ui_win: Wrap calls to edje_object_part_object_get with freeze/thaw
Summary: @ref https://phab.enlightenment.org/T6884 Depends on https://phab.enlightenment.org/D6414 Reviewers: zmike, ManMower Reviewed By: zmike Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/T6884 Differential Revision: https://phab.enlightenment.org/D6415
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-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
_elm_object_part_cursor_set(Evas_Object *obj, Evas_Object *edj,
const char *part, const char *cursor)
{
- Evas_Object *sub = (Evas_Object *) edje_object_part_object_get(edj, part);
+ Evas_Object *sub;
+
+ edje_object_freeze(edj);
+ sub = (Evas_Object *)edje_object_part_object_get(edj, part);
+ edje_object_thaw(edj);
if (!sub) return;
elm_object_sub_cursor_set(sub, obj, cursor);