Mercurial > emacs
changeset 6465:0bd909cf75c3
Call XtSetValues not XtVaSetValues.
author | Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> |
---|---|
date | Tue, 22 Mar 1994 14:59:24 +0000 |
parents | 7f93299356e2 |
children | 4b3c537e1169 |
files | src/widget.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/widget.c Tue Mar 22 14:38:10 1994 +0000 +++ b/src/widget.c Tue Mar 22 14:59:24 1994 +0000 @@ -438,11 +438,15 @@ { int len; char *tem; + Arg al[2]; + int ac = 0; + sprintf (shell_position, "=%dx%d", pixel_width, pixel_height); len = strlen (shell_position) + 1; tem = (char *) xmalloc (len); strncpy (tem, shell_position, len); - XtVaSetValues (wmshell, XtNgeometry, tem, 0); + XtSetArg (al[ac], XtNgeometry, tem); ac++; + XtSetValues (wmshell, al, ac); } #if 0 /* We don't need this also. */