diff options
| -rw-r--r-- | src/nsfns.m | 10 |
1 files changed, 2 insertions, 8 deletions
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, | |||
| 1312 | block_input (); | 1312 | block_input (); |
| 1313 | 1313 | ||
| 1314 | #ifdef NS_IMPL_COCOA | 1314 | #ifdef NS_IMPL_COCOA |
| 1315 | mac_register_font_driver (f); | 1315 | mac_register_font_driver (f); |
| 1316 | #else | 1316 | #else |
| 1317 | register_font_driver (&nsfont_driver, f); | 1317 | register_font_driver (&nsfont_driver, f); |
| 1318 | #endif | 1318 | #endif |
| 1319 | 1319 | ||
| 1320 | image_cache_refcount = | ||
| 1321 | FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; | ||
| 1322 | |||
| 1323 | gui_default_parameter (f, parms, Qfont_backend, Qnil, | 1320 | gui_default_parameter (f, parms, Qfont_backend, Qnil, |
| 1324 | "fontBackend", "FontBackend", RES_TYPE_STRING); | 1321 | "fontBackend", "FontBackend", RES_TYPE_STRING); |
| 1325 | 1322 | ||
| @@ -3022,9 +3019,6 @@ ns_create_tip_frame (struct ns_display_info *dpyinfo, Lisp_Object parms) | |||
| 3022 | #endif | 3019 | #endif |
| 3023 | unblock_input (); | 3020 | unblock_input (); |
| 3024 | 3021 | ||
| 3025 | image_cache_refcount = | ||
| 3026 | FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; | ||
| 3027 | |||
| 3028 | gui_default_parameter (f, parms, Qfont_backend, Qnil, | 3022 | gui_default_parameter (f, parms, Qfont_backend, Qnil, |
| 3029 | "fontBackend", "FontBackend", RES_TYPE_STRING); | 3023 | "fontBackend", "FontBackend", RES_TYPE_STRING); |
| 3030 | 3024 | ||