1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

get the app working on 10.4 and later, compiling on 10.5

This commit is contained in:
Mitchell Livingston 2007-10-27 22:11:41 +00:00
parent 92ac49d9c4
commit 69df8105a7
3 changed files with 6 additions and 8 deletions

View file

@ -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;
};

View file

@ -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]];

View file

@ -24,10 +24,6 @@
#import "NSApplicationAdditions.h"
#ifndef NSAppKitVersionNumber10_4
#define NSAppKitVersionNumber10_4 824
#endif
@implementation NSApplication (NSApplicationAdditions)
- (BOOL) isOnLeopardOrBetter