From: Jason Rumney Date: Mon, 9 Jun 2008 23:05:10 +0000 (+0000) Subject: (set_frame_menubar): Sync with version in xmenu.c. X-Git-Tag: emacs-pretest-23.0.90~4959 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a9d8395f86de41ac26a313dd5b7c8bc8356458eb;p=emacs.git (set_frame_menubar): Sync with version in xmenu.c. (w32_menu_show): Sync with xmenu_show in xmenu.c. --- diff --git a/src/ChangeLog b/src/ChangeLog index 1aa79a1c674..cb8b1f1f3ab 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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. diff --git a/src/xmenu.c b/src/xmenu.c index 15730743166..bba202e4504 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -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; }