changeset 105978:f1af90a55b45

(Fx_popup_menu): Call Fx_hide_tip only if HAVE_WINDOW_SYSTEM.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 13 Nov 2009 10:09:05 +0000
parents f008b20f27b1
children b7172a719841
files src/menu.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/menu.c	Fri Nov 13 08:41:47 2009 +0000
+++ b/src/menu.c	Fri Nov 13 10:09:05 2009 +0000
@@ -1286,8 +1286,10 @@
   unbind_to (specpdl_count, Qnil);
 
 #ifdef HAVE_MENUS
+#ifdef HAVE_WINDOW_SYSTEM
   /* Hide a previous tip, if any.  */
   Fx_hide_tip ();
+#endif
 
 #ifdef HAVE_NTGUI     /* FIXME: Is it really w32-specific?  --Stef  */
   /* If resources from a previous popup menu still exist, does nothing