summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXXStubs.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-03-21 00:44:51 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-03-21 00:44:51 (GMT)
commitc76fcabd431431b1acfc9d4113781872fcc9fe9b (patch)
tree9c31348825d0133c3800fb172836376aabbb89e8 /macosx/tkMacOSXXStubs.c
parentc9882c7aeaae398fd75018012a712567852fd788 (diff)
downloadtk-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.c3
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;