diff options
Diffstat (limited to 'lwlib')
-rw-r--r-- | lwlib/lwlib-Xaw.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lwlib/lwlib-Xaw.c b/lwlib/lwlib-Xaw.c index efc287e062a..90aa782be81 100644 --- a/lwlib/lwlib-Xaw.c +++ b/lwlib/lwlib-Xaw.c @@ -124,7 +124,10 @@ xaw_update_one_widget (instance, widget, val, deep_p) } else if (XtIsSubclass (widget, dialogWidgetClass)) { - XtVaSetValues (widget, XtNlabel, val->contents->value, 0); + Arg al[1]; + int ac = 0; + XtSetArg (al[ac], XtNlabel, val->contents->value); ac++; + XtSetValues (widget, al, ac); } else if (XtIsSubclass (widget, commandWidgetClass)) { |