diff src/EmacsShell-sub.c @ 165:5a88923fcbfe r20-3b9

Import from CVS: tag r20-3b9
author cvs
date Mon, 13 Aug 2007 09:44:42 +0200
parents 54cc21c15cbb
children 3d6bfa290dbd
line wrap: on
line diff
--- a/src/EmacsShell-sub.c	Mon Aug 13 09:43:39 2007 +0200
+++ b/src/EmacsShell-sub.c	Mon Aug 13 09:44:42 2007 +0200
@@ -232,6 +232,7 @@
 {
   int base_width, base_height;
   int cell_width, cell_height;
+  Arg al [10];
 
   /* time to update them thar size hints */
   cell_width = w->wm.size_hints.width_inc;
@@ -250,14 +251,13 @@
   printf ("  base size set to: %d %d\n", base_width, base_height);
   fflush (stdout);
 #endif
-  XtVaSetValues ((Widget) w,
-		 XtNbaseWidth, base_width,
-		 XtNbaseHeight, base_height,
-		 XtNminWidth, base_width +
-		 cell_width * w->emacs_shell.min_width_cells,
-		 XtNminHeight, base_height +
-		 cell_height * w->emacs_shell.min_height_cells,
-		 NULL);
+  XtSetArg(al [0], XtNbaseWidth, base_width);
+  XtSetArg(al [1], XtNbaseHeight, base_height);
+  XtSetArg(al [2], XtNminWidth, base_width +
+	   cell_width * w->emacs_shell.min_width_cells);
+  XtSetArg(al [3], XtNminHeight, base_height +
+	   cell_height * w->emacs_shell.min_height_cells);
+  XtSetValues ((Widget) w, al, 4);
 }
 
 static XtGeometryResult