Commit 94da8397 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

* menu.c (cleanup_popup_menu): Set inside "#ifdef HAVE_NS".

parent 2e6c8532
2010-07-23 Juanma Barranquero <lekktu@gmail.com>
 
* menu.c (cleanup_popup_menu): Set inside "#ifdef HAVE_NS";
it is called only from NS code.
* w32term.c (my_set_focus): #ifdef away; it is called only from
"#ifdef 0" code.
 
......
......@@ -133,12 +133,14 @@ discard_menu_items (void)
xassert (NILP (menu_items_inuse));
}
#ifdef HAVE_NS
static Lisp_Object
cleanup_popup_menu (Lisp_Object arg)
{
discard_menu_items ();
return Qnil;
}
#endif
/* This undoes save_menu_items, and it is called by the specpdl unwind
mechanism. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment