summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_lua.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-18 16:22:01 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-18 16:33:33 +0900
commita72f3ec64ec8dfc20c68e1b471a6374a04058f8b (patch)
treea034aff82d8f21f10aa3eaa7ddbce58c9ac92c39 /src/lib/edje/edje_lua.c
parent7d2b4b69166c0f2abaf0f0bdec3b0d04eb721517 (diff)
efl: Use Eina.Size2D for size hint combined min
For this patch I decided to add a pseudo legacy wrapper as the function is called in a very large number of places. Fixing all those calls to use the size2d form is a lot of work and a greater risk of b0rking something.
Diffstat (limited to 'src/lib/edje/edje_lua.c')
-rw-r--r--src/lib/edje/edje_lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_lua.c b/src/lib/edje/edje_lua.c
index f5bef33..9af93cc 100644
--- a/src/lib/edje/edje_lua.c
+++ b/src/lib/edje/edje_lua.c
@@ -1424,7 +1424,7 @@ _edje_lua_object_get_size_hint_min(lua_State *L)
1424{ 1424{
1425 Edje_Lua_Evas_Object *obj = _edje_lua_checkudata(L, 1, &mObject); 1425 Edje_Lua_Evas_Object *obj = _edje_lua_checkudata(L, 1, &mObject);
1426 int w, h; 1426 int w, h;
1427 efl_gfx_size_hint_combined_min_get(obj->eo, &w, &h); 1427 evas_object_size_hint_combined_min_get(obj->eo, &w, &h);
1428 lua_createtable(L, 2, 0); 1428 lua_createtable(L, 2, 0);
1429 lua_pushnumber(L, w); 1429 lua_pushnumber(L, w);
1430 lua_rawseti(L, -2, 1); 1430 lua_rawseti(L, -2, 1);