int maxdepth, notreal;
int *notbuttons_ptr;
{
- Lisp_Object def, map, item_string, enabled;
+ Lisp_Object map, item_string, enabled;
struct gcpro gcpro1, gcpro2;
int res;
(position, menu)
Lisp_Object position, menu;
{
- int number_of_panes, panes;
Lisp_Object keymap, tem;
int xpos, ypos;
Lisp_Object title;
char *error_name;
Lisp_Object selection;
- int i, j;
FRAME_PTR f;
Lisp_Object x, y, window;
int keymaps = 0;
int len;
Lisp_Object *mapvec;
widget_value **submenu_stack;
- int mapno;
int previous_items = menu_items_used;
int top_level_items = 0;
int columns, rows;
int menubar_changed;
- Dimension shell_height;
-
/* We assume the menubar contents has changed if the global flag is set,
or if the current buffer has changed, or if the menubar has never
been updated before.
int deep_p;
{
Widget menubar_widget = f->output_data.x->menubar_widget;
- Lisp_Object tail, items, frame;
+ Lisp_Object items;
widget_value *wv, *first_wv, *prev_wv = 0;
int i;
LWLIB_ID id;
FRAME_PTR f;
{
Widget menubar_widget;
- int id;
menubar_widget = f->output_data.x->menubar_widget;
XButtonPressedEvent dummy;
int first_pane;
- int next_release_must_exit = 0;
*error = NULL;
Widget menu;
char dialog_name[6];
- widget_value *wv, *save_wv = 0, *first_wv = 0, *prev_wv = 0;
+ widget_value *wv, *first_wv = 0, *prev_wv = 0;
/* Number of elements seen so far, before boundary. */
int left_count = 0;