aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorKim F. Storm2003-12-27 22:24:01 +0000
committerKim F. Storm2003-12-27 22:24:01 +0000
commit9fc63a8939697c4daa2e56b9829eebe2cc204bf4 (patch)
tree9443f8d5a1c7390ab81d638342c1a5fade9ec940 /src/xmenu.c
parent942b13fa0d42e216c3a9fcc012d311f121311d8a (diff)
downloademacs-9fc63a8939697c4daa2e56b9829eebe2cc204bf4.tar.gz
emacs-9fc63a8939697c4daa2e56b9829eebe2cc204bf4.zip
(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;
99Lisp_Object Qdebug_on_next_call; 99Lisp_Object Qdebug_on_next_call;
100 100
101extern Lisp_Object Qmenu_bar; 101extern Lisp_Object Qmenu_bar;
102extern Lisp_Object Qmouse_click, Qevent_kind;
103 102
104extern Lisp_Object QCtoggle, QCradio; 103extern Lisp_Object QCtoggle, QCradio;
105 104
@@ -1304,6 +1303,7 @@ show_help_event (f, widget, help)
1304 } 1303 }
1305 else 1304 else
1306 { 1305 {
1306#if 0 /* This code doesn't do anything useful. ++kfs */
1307 /* WIDGET is the popup menu. It's parent is the frame's 1307 /* WIDGET is the popup menu. It's parent is the frame's
1308 widget. See which frame that is. */ 1308 widget. See which frame that is. */
1309 xt_or_gtk_widget frame_widget = XtParent (widget); 1309 xt_or_gtk_widget frame_widget = XtParent (widget);
@@ -1317,7 +1317,7 @@ show_help_event (f, widget, help)
1317 FRAME_X_P (f) && f->output_data.x->widget == frame_widget)) 1317 FRAME_X_P (f) && f->output_data.x->widget == frame_widget))
1318 break; 1318 break;
1319 } 1319 }
1320 1320#endif
1321 show_help_echo (help, Qnil, Qnil, Qnil, 1); 1321 show_help_echo (help, Qnil, Qnil, Qnil, 1);
1322 } 1322 }
1323} 1323}