fix motif build

Tue, 02 Jun 2026 20:14:14 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 02 Jun 2026 20:14:14 +0200
changeset 1161
6cac1a5b4c47
parent 1160
881dfcf46cd6
child 1162
3a2bf1795579

fix motif build

ui/motif/menu.c file | annotate | diff | comparison | revisions
ui/motif/text.c file | annotate | diff | comparison | revisions
--- a/ui/motif/menu.c	Tue Jun 02 20:12:57 2026 +0200
+++ b/ui/motif/menu.c	Tue Jun 02 20:14:14 2026 +0200
@@ -199,7 +199,7 @@
     Widget button = XmCreateToggleButton(p, "menuradiobutton", args, n);
     XtManageChild(button);
     
-    ui_bind_radiobutton(obj, button, NULL, it->varname, it->callback, it->userdata, 0);
+    ui_bind_radiobutton(obj, button, NULL, it->varname, it->callback, it->userdata, NULL, 0);
 }
 
 static void menuitem_list_remove_binding(void *obj) {
--- a/ui/motif/text.c	Tue Jun 02 20:12:57 2026 +0200
+++ b/ui/motif/text.c	Tue Jun 02 20:14:14 2026 +0200
@@ -98,7 +98,7 @@
                 var);
     }
     
-    if(args->onchange || args->action) {
+    if(args->onchange || args->onchange_action) {
         
     }
     

mercurial