diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-03-21 00:44:51 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-03-21 00:44:51 (GMT) |
commit | c76fcabd431431b1acfc9d4113781872fcc9fe9b (patch) | |
tree | 9c31348825d0133c3800fb172836376aabbb89e8 /macosx/tkMacOSXXStubs.c | |
parent | c9882c7aeaae398fd75018012a712567852fd788 (diff) | |
download | tk-c76fcabd431431b1acfc9d4113781872fcc9fe9b.zip tk-c76fcabd431431b1acfc9d4113781872fcc9fe9b.tar.gz tk-c76fcabd431431b1acfc9d4113781872fcc9fe9b.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 b16b582..e03260f 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; |