diff --git a/Transmission.xcodeproj/project.pbxproj b/Transmission.xcodeproj/project.pbxproj index dfce100ac..d8e55acc9 100644 --- a/Transmission.xcodeproj/project.pbxproj +++ b/Transmission.xcodeproj/project.pbxproj @@ -1806,9 +1806,10 @@ GCC_WARN_UNUSED_FUNCTION = NO; GCC_WARN_UNUSED_VALUE = NO; GCC_WARN_UNUSED_VARIABLE = NO; + MACOSX_DEPLOYMENT_TARGET = 10.4; OTHER_CFLAGS = "$(inherited)"; PREBINDING = NO; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk"; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk"; }; name = Development; }; @@ -1858,8 +1859,9 @@ DEBUG_INFORMATION_FORMAT = dwarf; GCC_ENABLE_OBJC_EXCEPTIONS = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + MACOSX_DEPLOYMENT_TARGET = 10.4; PREBINDING = NO; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk"; + SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk"; }; name = Release; }; diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index 461535fb2..dd87e8e04 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -181,8 +181,8 @@ typedef enum { if (numberSelected > 0) { - [fImageView setImage: [NSImage imageNamed: /*[NSApp isOnLeopardOrBetter] - ? NSImageNameMultipleDocuments :*/ @"NSApplicationIcon"]]; + [fImageView setImage: [NSImage imageNamed: [NSApp isOnLeopardOrBetter] + ? NSImageNameMultipleDocuments : @"NSApplicationIcon"]]; [fNameField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%d Torrents Selected", "Inspector -> above tabs -> selected torrents"), numberSelected]]; diff --git a/macosx/NSApplicationAdditions.m b/macosx/NSApplicationAdditions.m index bcaab6d85..373ce7575 100644 --- a/macosx/NSApplicationAdditions.m +++ b/macosx/NSApplicationAdditions.m @@ -24,10 +24,6 @@ #import "NSApplicationAdditions.h" -#ifndef NSAppKitVersionNumber10_4 -#define NSAppKitVersionNumber10_4 824 -#endif - @implementation NSApplication (NSApplicationAdditions) - (BOOL) isOnLeopardOrBetter