comparison src/xmenu.c @ 97204:ba4a6844b73c

Revert last change.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 01 Aug 2008 15:44:26 +0000
parents cf43f4e3ecc8
children 229acec13840
comparison
equal deleted inserted replaced
97203:88323368bc2c 97204:ba4a6844b73c
143 /* Flag which when set indicates a dialog or menu has been posted by 143 /* Flag which when set indicates a dialog or menu has been posted by
144 Xt on behalf of one of the widget sets. */ 144 Xt on behalf of one of the widget sets. */
145 static int popup_activated_flag; 145 static int popup_activated_flag;
146 146
147 static int next_menubar_widget_id; 147 static int next_menubar_widget_id;
148
149 /* For NS and NTGUI, these prototypes are defined in keyboard.h. */
150 #if defined (USE_X_TOOLKIT) || defined (USE_GTK)
151 extern widget_value *xmalloc_widget_value P_ ((void));
152 extern widget_value *digest_single_submenu P_ ((int, int, int));
153 #endif
148 154
149 /* This is set nonzero after the user activates the menu bar, and set 155 /* This is set nonzero after the user activates the menu bar, and set
150 to zero again after the menu bars are redisplayed by prepare_menu_bar. 156 to zero again after the menu bars are redisplayed by prepare_menu_bar.
151 While it is nonzero, all calls to set_frame_menubar go deep. 157 While it is nonzero, all calls to set_frame_menubar go deep.
152 158