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 @@ 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);