aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Pierresteguy1994-03-22 14:59:24 +0000
committerFred Pierresteguy1994-03-22 14:59:24 +0000
commitb01150e7ca249aa187a4b0b8744bcb3a87ffd690 (patch)
treef32a14ab744efd8157185f654cc21d6a7981b051
parentedaf359bcfc043b2545810422f0cb61bb2998ca3 (diff)
downloademacs-b01150e7ca249aa187a4b0b8744bcb3a87ffd690.tar.gz
emacs-b01150e7ca249aa187a4b0b8744bcb3a87ffd690.zip
Call XtSetValues not XtVaSetValues.
-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)
438 { 438 {
439 int len; 439 int len;
440 char *tem; 440 char *tem;
441 Arg al[2];
442 int ac = 0;
443
441 sprintf (shell_position, "=%dx%d", pixel_width, pixel_height); 444 sprintf (shell_position, "=%dx%d", pixel_width, pixel_height);
442 len = strlen (shell_position) + 1; 445 len = strlen (shell_position) + 1;
443 tem = (char *) xmalloc (len); 446 tem = (char *) xmalloc (len);
444 strncpy (tem, shell_position, len); 447 strncpy (tem, shell_position, len);
445 XtVaSetValues (wmshell, XtNgeometry, tem, 0); 448 XtSetArg (al[ac], XtNgeometry, tem); ac++;
449 XtSetValues (wmshell, al, ac);
446 } 450 }
447 451
448#if 0 /* We don't need this also. */ 452#if 0 /* We don't need this also. */