diff options
author | David Walter Seikel | 2014-05-12 06:20:01 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-12 06:20:01 +1000 |
commit | ca86e61a1545c604e67050e395f9b3cad4fc94f0 (patch) | |
tree | 36d44ed762ba03b5e115aca8cf36a57c40d11501 /src/GuiLua | |
parent | Stop internal windows going under the toolbar. (diff) | |
download | SledjHamr-ca86e61a1545c604e67050e395f9b3cad4fc94f0.zip SledjHamr-ca86e61a1545c604e67050e395f9b3cad4fc94f0.tar.gz SledjHamr-ca86e61a1545c604e67050e395f9b3cad4fc94f0.tar.bz2 SledjHamr-ca86e61a1545c604e67050e395f9b3cad4fc94f0.tar.xz |
Try to calculate minimum winFang size, and fail coz no one else does.
Diffstat (limited to 'src/GuiLua')
-rw-r--r-- | src/GuiLua/GuiLua.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c index b25c60f..af7e2fd 100644 --- a/src/GuiLua/GuiLua.c +++ b/src/GuiLua/GuiLua.c | |||
@@ -202,6 +202,7 @@ static int widget(lua_State *L) | |||
202 | evas_obj_position_set(x, y) | 202 | evas_obj_position_set(x, y) |
203 | ); | 203 | ); |
204 | } | 204 | } |
205 | winFangCalcMinSize(win); | ||
205 | evas_object_smart_callback_add(wid->obj, "clicked", _on_click, wid); | 206 | evas_object_smart_callback_add(wid->obj, "clicked", _on_click, wid); |
206 | 207 | ||
207 | lua_pushlightuserdata(L, (void *) wid); | 208 | lua_pushlightuserdata(L, (void *) wid); |