summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2018-06-25 11:31:32 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-06-25 11:36:52 -0400
commit392668bdfbd03985e7c01fba74548b9db912a16f (patch)
tree6f0ad469a0d3e6e482b053518259f652fc562b8a
parenteed3e5dfe9e00b9b27955e8e7e6a42fcf5e87ff4 (diff)
edje_lua: Wrap calls to edje_object_part_object_get with freeze/thaw
Summary: @ref T6884 Depends on D6419 Reviewers: zmike, ManMower Reviewed By: zmike Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T6884 Differential Revision: https://phab.enlightenment.org/D6420
-rw-r--r--src/lib/edje/edje_lua.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/edje/edje_lua.c b/src/lib/edje/edje_lua.c
index 9af93cc3ea..f31c3172fe 100644
--- a/src/lib/edje/edje_lua.c
+++ b/src/lib/edje/edje_lua.c
@@ -4136,7 +4136,9 @@ _edje_lua_group_mt_index(lua_State *L)
4136 if (rp) 4136 if (rp)
4137 { 4137 {
4138 // check if lua userdata exists 4138 // check if lua userdata exists
4139 edje_object_freeze(obj->eo);
4139 Evas_Object *part = (Evas_Object *)edje_object_part_object_get(obj->eo, key); 4140 Evas_Object *part = (Evas_Object *)edje_object_part_object_get(obj->eo, key);
4141 edje_object_thaw(obj->eo);
4140 _edje_lua_get_reg(L, part); 4142 _edje_lua_get_reg(L, part);
4141 if (lua_isnil(L, -1)) 4143 if (lua_isnil(L, -1))
4142 { 4144 {