diff src/gui-x.c @ 185:3d6bfa290dbd r20-3b19

Import from CVS: tag r20-3b19
author cvs
date Mon, 13 Aug 2007 09:55:28 +0200
parents 9ad43877534d
children d44af0c54775
line wrap: on
line diff
--- a/src/gui-x.c	Mon Aug 13 09:54:24 2007 +0200
+++ b/src/gui-x.c	Mon Aug 13 09:55:28 2007 +0200
@@ -126,7 +126,7 @@
   Lisp_Object lpdata = Qnil;
 
   assert (NILP (assq_no_quit (lid, Vpopup_callbacks)));
-  pdata = alloc_lcrecord (sizeof (struct popup_data), lrecord_popup_data);
+  pdata = alloc_lcrecord_type (struct popup_data, lrecord_popup_data);
   pdata->id = id;
   pdata->last_menubar_buffer = Qnil;
   pdata->menubar_contents_up_to_date = 0;
@@ -478,7 +478,7 @@
   if (NILP (accel))
     accel = menu_name_to_accelerator (wv->name);
   wv->accel = LISP_TO_VOID (accel);
-  
+
   if (!NILP (suffix))
     {
       CONST char *const_bogosity;