From: Po Lu Date: Thu, 20 Jun 2024 13:29:39 +0000 (+0800) Subject: Fix NS build X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0de9a8434962b9823df2dacd23952f8ba656103f;p=emacs.git Fix NS build * src/nsfns.m (Fx_create_frame, ns_create_tip_frame): Remove references to deleted variable. (bug#71638) (cherry picked from commit 199fcbe2d30ff021491b345decf22024913ca40f) --- diff --git a/src/nsfns.m b/src/nsfns.m index d9c1296056c..add7a93dfba 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -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);