diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-03-21 00:50:16 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-03-21 00:50:16 (GMT) |
commit | 69975174e85eb27b9568bac02cb3a09ce10f0812 (patch) | |
tree | 523d52d04168fdbaa26d257a98579ba2a5e37713 /macosx/tkMacOSXXStubs.c | |
parent | b44d7749aae46224ac68d100431e89b7ea666bee (diff) | |
download | tk-69975174e85eb27b9568bac02cb3a09ce10f0812.zip tk-69975174e85eb27b9568bac02cb3a09ce10f0812.tar.gz tk-69975174e85eb27b9568bac02cb3a09ce10f0812.tar.bz2 |
Remove garbage collections calls as GC is no longer supported on OS X; thanks to Marc Culler for patch
Diffstat (limited to 'macosx/tkMacOSXXStubs.c')
-rw-r--r-- | macosx/tkMacOSXXStubs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/tkMacOSXXStubs.c b/macosx/tkMacOSXXStubs.c index c227cd6..0be5416 100644 --- a/macosx/tkMacOSXXStubs.c +++ b/macosx/tkMacOSXXStubs.c @@ -177,8 +177,7 @@ TkpOpenDisplay( display->proto_minor_version = [[cgVers objectAtIndex:2] integerValue]; } if (!vendor[0]) { - snprintf(vendor, sizeof(vendor), "Apple AppKit %s %g", - ([NSGarbageCollector defaultCollector] ? "GC" : "RR"), + snprintf(vendor, sizeof(vendor), "Apple AppKit %g", NSAppKitVersionNumber); } display->vendor = vendor; |