ui/motif/container.h

changeset 108
77254bd6dccb
parent 103
6606616eca9f
child 112
c3f2f16fa4b8
--- a/ui/motif/container.h	Sat Apr 05 17:57:04 2025 +0200
+++ b/ui/motif/container.h	Sun Jul 20 22:04:39 2025 +0200
@@ -39,14 +39,14 @@
 #endif
     
 #define UI_APPLY_LAYOUT(layout, args) \
-    layout.fill = args.fill; \
-    layout.hexpand = args.hexpand; \
-    layout.vexpand = args.vexpand; \
-    layout.hfill = args.hfill; \
-    layout.vfill = args.vfill; \
-    layout.override_defaults = args.override_defaults; \
-    layout.colspan = args.colspan; \
-    layout.rowspan = args.rowspan
+    layout.fill = args->fill; \
+    layout.hexpand = args->hexpand; \
+    layout.vexpand = args->vexpand; \
+    layout.hfill = args->hfill; \
+    layout.vfill = args->vfill; \
+    layout.override_defaults = args->override_defaults; \
+    layout.colspan = args->colspan; \
+    layout.rowspan = args->rowspan
     
 typedef enum UiBoxOrientation UiBoxOrientation;
 
@@ -65,7 +65,7 @@
 typedef struct UiLayout UiLayout;
 
 struct UiLayout {
-    UiTri        fill;
+    UiBool       fill;
     UiBool       newline;
     char         *label;
     UiBool       hexpand;

mercurial