summaryrefslogtreecommitdiff
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-12-07 15:04:10 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2013-12-07 15:04:10 -0800
commit67840e6629754dc1a9196fed4910b58e4e7abd89 (patch)
tree797c405b0afc688355bba15c4a71830f003e3c26 /src/xmenu.c
parent73c8ceea1ab335aae9221a671ae0959704669a52 (diff)
downloademacs-67840e6629754dc1a9196fed4910b58e4e7abd89.tar.gz
Fix minor problems found by static checking.
* keyboard.c (poll_for_input_1, input_polling_used): Define only if HAVE_NTGUI. * xmenu.c (popup_activate_callback): Omit unnecessary check against USE_X_TOOLKIT, which must be defined here anyway. * xterm.c, xterm.h (x_dispatch_event) [! (USE_X_TOOLKIT || USE_MOTIF)]: Now static.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index d587610fdd7..fb3baa01ef4 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -510,9 +510,7 @@ static void
popup_activate_callback (Widget widget, LWLIB_ID id, XtPointer client_data)
{
popup_activated_flag = 1;
-#ifdef USE_X_TOOLKIT
x_activate_timeout_atimer ();
-#endif
}
#endif