Commit 9fc63a89 authored by Kim F. Storm's avatar Kim F. Storm

(show_help_event): Remove unused code.

parent 942b13fa
...@@ -99,7 +99,6 @@ Lisp_Object Vmenu_updating_frame; ...@@ -99,7 +99,6 @@ Lisp_Object Vmenu_updating_frame;
Lisp_Object Qdebug_on_next_call; Lisp_Object Qdebug_on_next_call;
extern Lisp_Object Qmenu_bar; extern Lisp_Object Qmenu_bar;
extern Lisp_Object Qmouse_click, Qevent_kind;
extern Lisp_Object QCtoggle, QCradio; extern Lisp_Object QCtoggle, QCradio;
...@@ -1304,6 +1303,7 @@ show_help_event (f, widget, help) ...@@ -1304,6 +1303,7 @@ show_help_event (f, widget, help)
} }
else else
{ {
#if 0 /* This code doesn't do anything useful. ++kfs */
/* WIDGET is the popup menu. It's parent is the frame's /* WIDGET is the popup menu. It's parent is the frame's
widget. See which frame that is. */ widget. See which frame that is. */
xt_or_gtk_widget frame_widget = XtParent (widget); xt_or_gtk_widget frame_widget = XtParent (widget);
...@@ -1317,7 +1317,7 @@ show_help_event (f, widget, help) ...@@ -1317,7 +1317,7 @@ show_help_event (f, widget, help)
FRAME_X_P (f) && f->output_data.x->widget == frame_widget)) FRAME_X_P (f) && f->output_data.x->widget == frame_widget))
break; break;
} }
#endif
show_help_echo (help, Qnil, Qnil, Qnil, 1); show_help_echo (help, Qnil, Qnil, Qnil, 1);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment