ui/gtk/container.c

changeset 111
40dbf1a7526a
parent 110
36f1581b43e2
child 116
480354705c2f
--- a/ui/gtk/container.c	Sun Jan 24 12:39:05 2016 +0100
+++ b/ui/gtk/container.c	Sun Jan 24 18:47:39 2016 +0100
@@ -467,12 +467,12 @@
 
 void ui_layout_hexpand(UiObject *obj, UiBool expand) {
     UiContainer *ct = uic_get_current_container(obj);
-    ct->layout.hexpand = ui_bool2lb(expand);
+    ct->layout.hexpand = expand;
 }
 
 void ui_layout_vexpand(UiObject *obj, UiBool expand) {
     UiContainer *ct = uic_get_current_container(obj);
-    ct->layout.vexpand = ui_bool2lb(expand);
+    ct->layout.vexpand = expand;
 }
 
 void ui_layout_gridwidth(UiObject *obj, int width) {

mercurial