]> git.eshelyaron.com Git - emacs.git/commitdiff
(set_frame_menubar): Sync with version in xmenu.c.
authorJason Rumney <jasonr@gnu.org>
Mon, 9 Jun 2008 23:05:10 +0000 (23:05 +0000)
committerJason Rumney <jasonr@gnu.org>
Mon, 9 Jun 2008 23:05:10 +0000 (23:05 +0000)
(w32_menu_show): Sync with xmenu_show in xmenu.c.

src/ChangeLog
src/xmenu.c

index 1aa79a1c674f0635393617688005814a4d4b4042..cb8b1f1f3ab88552e43cf7ed127697351ff6196d 100644 (file)
@@ -5,6 +5,8 @@
         (digest_single_submenu): Remove.
         (syms_of_w32menu): Don't initialise variables that have moved
         to menu.c.
+        (set_frame_menubar): Sync with version in xmenu.c.
+        (w32_menu_show): Sync with xmenu_show in xmenu.c.
 
         * menu.c (single_keymap_panes, push_menu_pane, push_menu_item):
         Make static again.
index 1573074316679268948324a2a47f65a7da129f33..bba202e4504acf64f11499605f36055311022c7e 100644 (file)
@@ -2114,8 +2114,8 @@ xmenu_show (f, x, y, for_click, keymaps, title, error)
       wv_title->name = (char *) SDATA (title);
       wv_title->enabled = TRUE;
       wv_title->button_type = BUTTON_TYPE_NONE;
-      wv_title->next = wv_sep1;
       wv_title->help = Qnil;
+      wv_title->next = wv_sep1;
       first_wv->contents = wv_title;
     }