From bd4c14b94eeb386b30439929e8e54a5d9b5d5fca Mon Sep 17 00:00:00 2001 From: Andrea Canciani Date: Thu, 24 Jun 2010 23:20:41 +0200 Subject: [PATCH] quartz: remove unused os version info It was previously used to activate a workaround for text transformation whenrunning on some os versions. Now the workaround is not needed anymore. --- src/cairo-quartz-surface.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c index 8c6fb7180..da025aa97 100644 --- a/src/cairo-quartz-surface.c +++ b/src/cairo-quartz-surface.c @@ -124,8 +124,6 @@ static bool (*CGContextGetAllowsFontSmoothingPtr) (CGContextRef) = NULL; static CGPathRef (*CGContextCopyPathPtr) (CGContextRef) = NULL; static void (*CGContextReplacePathWithClipPathPtr) (CGContextRef) = NULL; -static SInt32 _cairo_quartz_osx_version = 0x0; - static cairo_bool_t _cairo_quartz_symbol_lookup_done = FALSE; /* @@ -160,11 +158,6 @@ static void quartz_ensure_symbols(void) CGContextGetAllowsFontSmoothingPtr = dlsym(RTLD_DEFAULT, "CGContextGetAllowsFontSmoothing"); CGContextSetAllowsFontSmoothingPtr = dlsym(RTLD_DEFAULT, "CGContextSetAllowsFontSmoothing"); - if (Gestalt(gestaltSystemVersion, &_cairo_quartz_osx_version) != noErr) { - // assume 10.4 - _cairo_quartz_osx_version = 0x1040; - } - _cairo_quartz_symbol_lookup_done = TRUE; }