changeset 14298:6448a36ceaad

(set_frame_menubar): Use safe_run_hooks for Qmenu_bar_update_hook.
author Karl Heuer <kwzh@gnu.org>
date Wed, 24 Jan 1996 23:38:23 +0000
parents ac17ae608afe
children 037a89c9d068
files src/xmenu.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Wed Jan 24 23:32:49 1996 +0000
+++ b/src/xmenu.c	Wed Jan 24 23:38:23 1996 +0000
@@ -1609,7 +1609,7 @@
 	 really recompute the menubar from the value.  */
       if (! NILP (Vlucid_menu_bar_dirty_flag))
 	call0 (Qrecompute_lucid_menubar);
-      call1 (Vrun_hooks, Qmenu_bar_update_hook);
+      safe_run_hooks (Qmenu_bar_update_hook);
       FRAME_MENU_BAR_ITEMS (f) = menu_bar_items (FRAME_MENU_BAR_ITEMS (f));
 
       items = FRAME_MENU_BAR_ITEMS (f);