aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/xmenu.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f1b08f62b8e..a0f797b0e6f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -5,6 +5,8 @@
5 (xmenu_show): Rename parameter to avoid shadowing. 5 (xmenu_show): Rename parameter to avoid shadowing.
6 (xmenu_show, xdialog_show, xmenu_show): Make local pointers "const" 6 (xmenu_show, xdialog_show, xmenu_show): Make local pointers "const"
7 since they might point to immutable storage. 7 since they might point to immutable storage.
8 (next_menubar_widget_id): Declare only if USE_X_TOOLKIT,
9 since it's unused otherwise.
8 10
9 * xdisp.c (produce_glyphless_glyph): Initialize lower_xoff. 11 * xdisp.c (produce_glyphless_glyph): Initialize lower_xoff.
10 Add a FIXME comment, since the code still doesn't look right. 12 Add a FIXME comment, since the code still doesn't look right.
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 *);
124 Xt on behalf of one of the widget sets. */ 124 Xt on behalf of one of the widget sets. */
125static int popup_activated_flag; 125static int popup_activated_flag;
126 126
127static int next_menubar_widget_id;
128
129 127
130#ifdef USE_X_TOOLKIT 128#ifdef USE_X_TOOLKIT
131 129
130static int next_menubar_widget_id;
131
132/* Return the frame whose ->output_data.x->id equals ID, or 0 if none. */ 132/* Return the frame whose ->output_data.x->id equals ID, or 0 if none. */
133 133
134static struct frame * 134static struct frame *