diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-06 22:46:29 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-06 22:46:29 -0800 |
commit | 281585b0bd2a6063c11cfcc308a560f416c3eee7 (patch) | |
tree | 7f0b1a4fb703da4dba4c4ec9d0ea52f523590dd2 /src/xmenu.c | |
parent | 6d1f7feedacad0112846d84232b3d4a8dd96b740 (diff) | |
download | emacs-281585b0bd2a6063c11cfcc308a560f416c3eee7.tar.gz |
* xmenu.c (next_menubar_widget_id): Declare only if USE_X_TOOLKIT,
since it's unused otherwise.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r-- | src/xmenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index a64b305238b..36684c7dafa 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -124,11 +124,11 @@ static int update_frame_menubar (struct frame *); Xt on behalf of one of the widget sets. */ static int popup_activated_flag; -static int next_menubar_widget_id; - #ifdef USE_X_TOOLKIT +static int next_menubar_widget_id; + /* Return the frame whose ->output_data.x->id equals ID, or 0 if none. */ static struct frame * |