diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-12-07 15:04:10 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-12-07 15:04:10 -0800 |
commit | 67840e6629754dc1a9196fed4910b58e4e7abd89 (patch) | |
tree | 797c405b0afc688355bba15c4a71830f003e3c26 /src/xmenu.c | |
parent | 73c8ceea1ab335aae9221a671ae0959704669a52 (diff) | |
download | emacs-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.c | 2 |
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 |