From 9d66f88eb9f67c5484abb4000e2d5e6acf34a795 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 6 Mar 2011 14:36:06 -0800 Subject: [PATCH] * xmenu.c (set_frame_menubar): Remove unused local. --- src/ChangeLog | 1 + src/xmenu.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 02d6ec1ae9e..1ca428fa685 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,7 @@ 2011-03-06 Paul Eggert * xmenu.c (menu_highlight_callback): Now static. + (set_frame_menubar): Remove unused local. * xdisp.c (produce_glyphless_glyph): Initialize lower_xoff. Add a FIXME comment, since the code still doesn't look right. diff --git a/src/xmenu.c b/src/xmenu.c index 750dad6da17..c79db086df3 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -1175,8 +1175,6 @@ set_frame_menubar (FRAME_PTR f, int first_time, int deep_p) } else { - GtkWidget *wvbox = f->output_data.x->vbox_widget; - menubar_widget = xg_create_widget ("menubar", "menubar", f, first_wv, G_CALLBACK (menubar_selection_callback), -- 2.39.5