1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

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 @@ DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame,
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 @@ ns_create_tip_frame (struct ns_display_info *dpyinfo, Lisp_Object parms)
#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);