diff src/redisplay-x.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 8eaf7971accc
line wrap: on
line diff
--- a/src/redisplay-x.c	Mon Aug 13 09:43:39 2007 +0200
+++ b/src/redisplay-x.c	Mon Aug 13 09:44:42 2007 +0200
@@ -2214,8 +2214,12 @@
   struct frame *f = device_selected_frame (d);
   Widget shell = FRAME_X_SHELL_WIDGET (f);
   Dimension width, height;
+  Arg al [2];
 
-  XtVaGetValues (shell, XtNwidth, &width, XtNheight, &height, NULL);
+  XtSetArg (al [0], XtNwidth,  &width);
+  XtSetArg (al [1], XtNheight, &height);
+  XtGetValues (shell, al, 2);
+  
   XSETFRAME (frame, f);
 
   tmp_pixel = FACE_FOREGROUND (Vdefault_face, frame);