Fix NS build

* src/nsfns.m (Fx_create_frame, ns_create_tip_frame): Remove
references to deleted variable.  (bug#71638)
This commit is contained in:
Po Lu 2024-06-20 21:29:39 +08:00
parent 41cbfead7e
commit 199fcbe2d3

View file

@ -1312,14 +1312,11 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side.
block_input ();
#ifdef NS_IMPL_COCOA
mac_register_font_driver (f);
mac_register_font_driver (f);
#else
register_font_driver (&nsfont_driver, f);
register_font_driver (&nsfont_driver, f);
#endif
image_cache_refcount =
FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0;
gui_default_parameter (f, parms, Qfont_backend, Qnil,
"fontBackend", "FontBackend", RES_TYPE_STRING);
@ -3022,9 +3019,6 @@ Frames are listed from topmost (first) to bottommost (last). */)
#endif
unblock_input ();
image_cache_refcount =
FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0;
gui_default_parameter (f, parms, Qfont_backend, Qnil,
"fontBackend", "FontBackend", RES_TYPE_STRING);