summaryrefslogtreecommitdiff
path: root/src/nsfns.m
diff options
context:
space:
mode:
authorAdrian Robert <Adrian.B.Robert@gmail.com>2009-06-08 04:33:25 +0000
committerAdrian Robert <Adrian.B.Robert@gmail.com>2009-06-08 04:33:25 +0000
commit320e80c0c0239ad6efee4b2c704817a3821259d9 (patch)
treeed42f44389add0e8f26b43a94ee9e3455c80e354 /src/nsfns.m
parent8b3ce9a947f40bba46f14e6706f37c7ba4846ede (diff)
downloademacs-320e80c0c0239ad6efee4b2c704817a3821259d9.tar.gz
nsfns.m (Fns_popup_font_panel): Use shared font manager.
Diffstat (limited to 'src/nsfns.m')
-rw-r--r--src/nsfns.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsfns.m b/src/nsfns.m
index 5d944593f56..8cd7bfbb168 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -1382,7 +1382,7 @@ DEFUN ("ns-popup-font-panel", Fns_popup_font_panel, Sns_popup_font_panel,
struct frame *f;
check_ns ();
- fm = [NSFontManager new];
+ fm = [NSFontManager sharedFontManager];
if (NILP (frame))
f = SELECTED_FRAME ();
else