From xemacs-m  Thu Apr 24 19:14:32 1997
Received: from altair.xemacs.org (xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id TAA05785
	for <xemacs-beta@xemacs.org>; Thu, 24 Apr 1997 19:14:27 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id RAA04887;
	Thu, 24 Apr 1997 17:27:12 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: [PATCH] 20.2-b1: patch for menubar :filter crash
References: <QQcmig29344.199704220535@crystal.WonderWorks.COM>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Kyle Jones's message of Tue, 22 Apr 1997 01:35:59 -0400 (EDT)
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 24 Apr 1997 17:27:12 -0700
Message-ID: <m2wwpsymjj.fsf@altair.xemacs.org>
Lines: 24
X-Mailer: Gnus v5.4.46/XEmacs 20.2(beta3)

There's one minor buglet in this patch that causes crashes for me with 
Lisp union types.  It is corrected by this additional patch to
menubar-x.c:

--- src/menubar-x.c~	Thu Apr 24 15:57:49 1997
+++ src/menubar-x.c	Thu Apr 24 16:30:12 1997
@@ -311,10 +311,11 @@
 #ifdef LWLIB_MENUBARS_LUCID
 int in_menu_callback;
 
-void
+Lisp_Object
 restore_in_menu_callback(Lisp_Object val)
 {
     in_menu_callback = XINT(val);
+    return Qnil;
 }
 #endif /* LWLIB_MENUBARS_LUCID */
 

Kyle's patch with this addition should be added to the 19.15 patch kit.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

