summaryrefslogtreecommitdiff
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2003-12-27 22:24:01 +0000
committerKim F. Storm <storm@cua.dk>2003-12-27 22:24:01 +0000
commit9fc63a8939697c4daa2e56b9829eebe2cc204bf4 (patch)
tree9443f8d5a1c7390ab81d638342c1a5fade9ec940 /src/xmenu.c
parent942b13fa0d42e216c3a9fcc012d311f121311d8a (diff)
downloademacs-9fc63a8939697c4daa2e56b9829eebe2cc204bf4.tar.gz
(show_help_event): Remove unused code.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 3e99a1c506d..669d8177c15 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -99,7 +99,6 @@ Lisp_Object Vmenu_updating_frame;
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 @@ show_help_event (f, widget, help)
}
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 @@ show_help_event (f, widget, help)
FRAME_X_P (f) && f->output_data.x->widget == frame_widget))
break;
}
-
+#endif
show_help_echo (help, Qnil, Qnil, Qnil, 1);
}
}