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 | 57bae8539803671dd2547d2afd3163600d95d240 (patch) | |
tree | 9c31348825d0133c3800fb172836376aabbb89e8 /macosx/tkMacOSXInit.c | |
parent | 2c530b5e7573aefb1c45b01416e37f18951ec812 (diff) | |
download | tk-57bae8539803671dd2547d2afd3163600d95d240.zip tk-57bae8539803671dd2547d2afd3163600d95d240.tar.gz tk-57bae8539803671dd2547d2afd3163600d95d240.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/tkMacOSXInit.c')
-rw-r--r-- | macosx/tkMacOSXInit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c index 6a881d3..e861089 100644 --- a/macosx/tkMacOSXInit.c +++ b/macosx/tkMacOSXInit.c @@ -28,7 +28,6 @@ static char tkLibPath[PATH_MAX + 1] = ""; static char scriptPath[PATH_MAX + 1] = ""; -int tkMacOSXGCEnabled = 0; long tkMacOSXMacOSXVersion = 0; #pragma mark TKApplication(TKInit) @@ -258,7 +257,6 @@ TkpInit( if (!pool) { pool = [NSAutoreleasePool new]; } - tkMacOSXGCEnabled = ([NSGarbageCollector defaultCollector] != nil); [[NSUserDefaults standardUserDefaults] registerDefaults: [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithBool:YES], |