2008-06-09 Jason Rumney <jasonr@gnu.org>
* w32menu.c (Fx_popup_menu): Unwind protect while building menu.
+ (parse_single_submenu): Remove.
+
+ * menu.c (single_keymap_panes, push_menu_pane, push_menu_item):
+ Make static again.
2008-06-09 Jason Rumney <jasonr@gnu.org>
/* Start a new menu pane in menu_items.
NAME is the pane name. PREFIX_VEC is a prefix key for this pane. */
-void
+static void
push_menu_pane (name, prefix_vec)
Lisp_Object name, prefix_vec;
{
for this item (or nil if none). TYPE is the type of this menu
item, one of nil, `toggle' or `radio'. */
-void
+static void
push_menu_item (name, enable, key, def, equiv, type, selected, help)
Lisp_Object name, enable, key, def, equiv, type, selected, help;
{
If we encounter submenus deeper than MAXDEPTH levels, ignore them. */
-void
+static void
single_keymap_panes (keymap, pane_name, prefix, notreal, maxdepth)
Lisp_Object keymap;
Lisp_Object pane_name;