Lisp_Object title;
const char *error_name;
Lisp_Object selection;
- ptrdiff_t specpdl_count = SPECPDL_INDEX ();
+ dynwind_begin ();
check_window_system (f);
selection = x_dialog_show (f, title, header, &error_name);
unblock_input ();
- unbind_to (specpdl_count, Qnil);
+ dynwind_end ();
discard_menu_items ();
if (error_name) error ("%s", error_name);
#if defined (USE_GTK) || defined (USE_X_TOOLKIT)
Ffset (intern_c_string ("accelerate-menu"),
- intern_c_string (Sx_menu_bar_open_internal.symbol_name));
+ intern_c_string ("x-menu-bar-open-internal"));
#endif
}