aboutsummaryrefslogtreecommitdiffstats
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
parentefl_ui_layout_pack: Wrap calls to edje_object_part_object_get with (diff)
downloadefl-392668bdfbd03985e7c01fba74548b9db912a16f.tar.gz
edje_lua: Wrap calls to edje_object_part_object_get with freeze/thaw
Summary: @ref https://phab.enlightenment.org/T6884 Depends on https://phab.enlightenment.org/D6419 Reviewers: zmike, ManMower Reviewed By: zmike Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/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)
if (rp)
{
// check if lua userdata exists
+ edje_object_freeze(obj->eo);
Evas_Object *part = (Evas_Object *)edje_object_part_object_get(obj->eo, key);
+ edje_object_thaw(obj->eo);
_edje_lua_get_reg(L, part);
if (lua_isnil(L, -1))
{