changeset 53325:8e8832ef3963

(show_help_event): Remove unused code.
author Kim F. Storm <storm@cua.dk>
date Sat, 27 Dec 2003 22:24:01 +0000
parents 890b555d85b7
children fe8e63ae41d9
files src/xmenu.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Sat Dec 27 22:03:40 2003 +0000
+++ b/src/xmenu.c	Sat Dec 27 22:24:01 2003 +0000
@@ -99,7 +99,6 @@
 Lisp_Object Qdebug_on_next_call;
 
 extern Lisp_Object Qmenu_bar;
-extern Lisp_Object Qmouse_click, Qevent_kind;
 
 extern Lisp_Object QCtoggle, QCradio;
 
@@ -1304,6 +1303,7 @@
     }
   else
     {
+#if 0  /* This code doesn't do anything useful.  ++kfs */
       /* WIDGET is the popup menu.  It's parent is the frame's
 	 widget.  See which frame that is.  */
       xt_or_gtk_widget frame_widget = XtParent (widget);
@@ -1317,7 +1317,7 @@
 		  FRAME_X_P (f) && f->output_data.x->widget == frame_widget))
 	    break;
 	}
-
+#endif
       show_help_echo (help, Qnil, Qnil, Qnil, 1);
     }
 }