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

Import from CVS: tag r20-3b9
author cvs
date Mon, 13 Aug 2007 09:44:42 +0200
parents 0132846995bd
children e121b013d1f0
line wrap: on
line diff
--- a/src/EmacsFrame.c	Mon Aug 13 09:43:39 2007 +0200
+++ b/src/EmacsFrame.c	Mon Aug 13 09:44:42 2007 +0200
@@ -590,6 +590,7 @@
   EmacsFrame ew = (EmacsFrame) widget;
   int pixel_width, pixel_height;
   struct frame *f = ew->emacs_frame.frame;
+  Arg al [2];
 
   if (columns < 3)
     columns = 3;  /* no way buddy */
@@ -601,8 +602,7 @@
   if (FRAME_X_TOP_LEVEL_FRAME_P (f))
     x_wm_set_variable_size (FRAME_X_SHELL_WIDGET (f), columns, rows);
 
-  XtVaSetValues ((Widget) ew,
-		 XtNwidth, (Dimension) pixel_width,
-		 XtNheight, (Dimension) pixel_height,
-		 NULL);
+  XtSetArg (al [0], XtNwidth,  (Dimension) pixel_width);
+  XtSetArg (al [1], XtNheight, (Dimension) pixel_height);
+  XtSetValues ((Widget) ew, al, 2);
 }