ui/ui/container.h

branch
newapi
changeset 187
24ce2c326d85
parent 186
5db4979bf482
child 190
70fd1b24e395
--- a/ui/ui/container.h	Sun Oct 01 09:23:47 2023 +0200
+++ b/ui/ui/container.h	Sun Oct 01 12:08:09 2023 +0200
@@ -92,7 +92,8 @@
     if(args.hexpand) ui_layout_hexpand(obj, 1); \
     if(args.vexpand) ui_layout_vexpand(obj, 1); \
     if(args.colspan > 0) ui_layout_colspan(obj, args.colspan); \
-    if(args.rowspan > 0) ui_layout_rowspan(obj, args.rowspan);
+    if(args.rowspan > 0) ui_layout_rowspan(obj, args.rowspan); \
+    /*force caller to add ';'*/(void)0
 
 
 #ifdef __cplusplus

mercurial