changeset 109882:793d8afe2140

(set_frame_menubar): Remove call to undefined function.
author Jason Rumney <jasonr@gnu.org>
date Thu, 19 Aug 2010 23:53:08 +0800
parents 3db1493a6f89
children c362ff4a1555
files src/ChangeLog src/w32menu.c
diffstat 2 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Aug 19 17:43:45 2010 +0200
+++ b/src/ChangeLog	Thu Aug 19 23:53:08 2010 +0800
@@ -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>
--- a/src/w32menu.c	Thu Aug 19 17:43:45 2010 +0200
+++ b/src/w32menu.c	Thu Aug 19 23:53:08 2010 +0800
@@ -420,12 +420,8 @@
 
       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));