Commit 281585b0 authored by Paul Eggert's avatar Paul Eggert
Browse files

* xmenu.c (next_menubar_widget_id): Declare only if USE_X_TOOLKIT,

since it's unused otherwise.
parent 6d1f7fee
......@@ -5,6 +5,8 @@
(xmenu_show): Rename parameter to avoid shadowing.
(xmenu_show, xdialog_show, xmenu_show): Make local pointers "const"
since they might point to immutable storage.
(next_menubar_widget_id): Declare only if USE_X_TOOLKIT,
since it's unused otherwise.
 
* xdisp.c (produce_glyphless_glyph): Initialize lower_xoff.
Add a FIXME comment, since the code still doesn't look right.
......@@ -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 *
......
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