diff src/menubar.c @ 438:84b14dcb0985 r21-2-27

Import from CVS: tag r21-2-27
author cvs
date Mon, 13 Aug 2007 11:32:25 +0200
parents 3ecd8885ac67
children 8de8e3f6228a
line wrap: on
line diff
--- a/src/menubar.c	Mon Aug 13 11:31:26 2007 +0200
+++ b/src/menubar.c	Mon Aug 13 11:32:25 2007 +0200
@@ -588,11 +588,9 @@
 
   set_specifier_fallback (Vmenubar_visible_p, list1 (Fcons (Qnil, Qt)));
   set_specifier_caching (Vmenubar_visible_p,
-			 slot_offset (struct window,
-				      menubar_visible_p),
+			 offsetof (struct window, menubar_visible_p),
 			 menubar_visible_p_changed,
-			 slot_offset (struct frame,
-				      menubar_visible_p),
+			 offsetof (struct frame, menubar_visible_p),
 			 menubar_visible_p_changed_in_frame);
 }