Mercurial > emacs
comparison lwlib/lwlib-Xaw.c @ 6335:fe5cb6ca692a
*** empty log message ***
author | Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> |
---|---|
date | Mon, 14 Mar 1994 17:50:20 +0000 |
parents | f3fe542e8cd7 |
children | e884cf1153d7 |
comparison
equal
deleted
inserted
replaced
6334:70e916a2457d | 6335:fe5cb6ca692a |
---|---|
122 { | 122 { |
123 xaw_update_scrollbar (instance, widget, val); | 123 xaw_update_scrollbar (instance, widget, val); |
124 } | 124 } |
125 else if (XtIsSubclass (widget, dialogWidgetClass)) | 125 else if (XtIsSubclass (widget, dialogWidgetClass)) |
126 { | 126 { |
127 XtVaSetValues (widget, XtNlabel, val->contents->value, 0); | 127 Arg al[1]; |
128 int ac = 0; | |
129 XtSetArg (al[ac], XtNlabel, val->contents->value); ac++; | |
130 XtSetValues (widget, al, ac); | |
128 } | 131 } |
129 else if (XtIsSubclass (widget, commandWidgetClass)) | 132 else if (XtIsSubclass (widget, commandWidgetClass)) |
130 { | 133 { |
131 Dimension bw = 0; | 134 Dimension bw = 0; |
132 XtVaGetValues (widget, XtNborderWidth, &bw, 0); | 135 XtVaGetValues (widget, XtNborderWidth, &bw, 0); |