diff src/frame.c @ 83557:8aaa2a0d400f

Fix compilation errors. Regenerate ldefs-boot.el. * src/frame.c (x_set_screen_gamma, store_frame_param): Fix compilation errors. * lisp/ldefs-boot.el: Regenerate. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-597
author Karoly Lorentey <karoly@lorentey.hu>
date Sat, 24 Feb 2007 20:06:02 +0000
parents 07774e5c3ff5
children d7ab14bae858
line wrap: on
line diff
--- a/src/frame.c	Sat Feb 24 19:26:54 2007 +0000
+++ b/src/frame.c	Sat Feb 24 20:06:02 2007 +0000
@@ -2341,8 +2341,6 @@
       /* Install the chosen minibuffer window, with proper buffer.  */
       f->minibuffer_window = val;
     }
-
-  return Qnil;
 }
 
 DEFUN ("frame-parameters", Fframe_parameters, Sframe_parameters, 0, 1, 0,
@@ -3381,9 +3379,9 @@
       if (NATNUMP (index)
 	  && (XFASTINT (index)
 	      < sizeof (frame_parms)/sizeof (frame_parms[0]))
-	  && rif->frame_parm_handlers[XFASTINT (index)])
-	(*(rif->frame_parm_handlers[XFASTINT (index)]))
-	  (f, bgcolor, Qnil);
+	  && FRAME_RIF (f)->frame_parm_handlers[XFASTINT (index)])
+	  (*FRAME_RIF (f)->frame_parm_handlers[XFASTINT (index)])
+	    (f, bgcolor, Qnil);
     }
 
   Fclear_face_cache (Qnil);