changeset 103341:1cd6f938ca95

nsfns.m (Fns_popup_font_panel): Use shared font manager.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Mon, 08 Jun 2009 04:33:25 +0000
parents 49d3f24a1a60
children 3565aebd001c
files src/nsfns.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/nsfns.m	Mon Jun 08 04:32:42 2009 +0000
+++ b/src/nsfns.m	Mon Jun 08 04:33:25 2009 +0000
@@ -1382,7 +1382,7 @@
   struct frame *f;
 
   check_ns ();
-  fm = [NSFontManager new];
+  fm = [NSFontManager sharedFontManager];
   if (NILP (frame))
     f = SELECTED_FRAME ();
   else