(set_frame_menubar): Remove call to undefined function.

This commit is contained in:
Jason Rumney 2010-08-19 23:53:08 +08:00
parent a2e5caf79e
commit cc477da7cc
2 changed files with 3 additions and 5 deletions

View file

@ -8,6 +8,8 @@
2010-08-19 Jason Rumney <jasonr@gnu.org>
* w32menu.c (set_frame_menubar): Remove call to undefined function.
* w32fns.c (w32_wnd_proc): Don't check context before initializing.
2010-08-19 Jan Djärv <jan.h.d@swipnet.se>

View file

@ -420,12 +420,8 @@ set_frame_menubar (FRAME_PTR f, int first_time, int deep_p)
set_buffer_internal_1 (XBUFFER (buffer));
/* Run the Lucid hook. */
/* Run the hooks. */
safe_run_hooks (Qactivate_menubar_hook);
/* If it has changed current-menubar from previous value,
really recompute the menubar from the value. */
if (! NILP (Vlucid_menu_bar_dirty_flag))
call0 (Qrecompute_lucid_menubar);
safe_run_hooks (Qmenu_bar_update_hook);
FRAME_MENU_BAR_ITEMS (f) = menu_bar_items (FRAME_MENU_BAR_ITEMS (f));