summaryrefslogtreecommitdiff
path: root/src/widget.c
diff options
context:
space:
mode:
authorFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-03-22 14:59:24 +0000
committerFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-03-22 14:59:24 +0000
commitb01150e7ca249aa187a4b0b8744bcb3a87ffd690 (patch)
treef32a14ab744efd8157185f654cc21d6a7981b051 /src/widget.c
parentedaf359bcfc043b2545810422f0cb61bb2998ca3 (diff)
downloademacs-b01150e7ca249aa187a4b0b8744bcb3a87ffd690.tar.gz
Call XtSetValues not XtVaSetValues.
Diffstat (limited to 'src/widget.c')
-rw-r--r--src/widget.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/widget.c b/src/widget.c
index 30f4e9e3d6f..09fc0f3ecbe 100644
--- a/src/widget.c
+++ b/src/widget.c
@@ -438,11 +438,15 @@ set_frame_size (ew)
{
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. */