Fix for Tiger build

This commit is contained in:
Matthias Neeracher 2007-04-24 18:32:32 +00:00
parent 3ae4701544
commit f7e36f0e71
4 changed files with 11 additions and 10 deletions

View File

@ -184,7 +184,7 @@
{ {
NSString * hasFink = [self getLineFromCommand:@"bash -l which fink"]; NSString * hasFink = [self getLineFromCommand:@"bash -l which fink"];
NSInteger response = int response =
[[NSAlert alertWithMessageText:title [[NSAlert alertWithMessageText:title
defaultButton: hasFink defaultButton: hasFink
? @"Install through fink" ? @"Install through fink"

View File

@ -62,7 +62,7 @@
[[self window] orderOut:self]; [[self window] orderOut:self];
} }
- (NSString *)browser:(NSBrowser *)sender titleOfColumn:(NSInteger)column - (NSString *)browser:(NSBrowser *)sender titleOfColumn:(int)column
{ {
if (!column) if (!column)
return @"Style"; return @"Style";
@ -81,7 +81,7 @@
retain]; retain];
} }
- (NSInteger)browser:(NSBrowser *)sender numberOfRowsInColumn:(NSInteger)column - (int)browser:(NSBrowser *)sender numberOfRowsInColumn:(int)column
{ {
[fBrowser setTakesTitleFromPreviousColumn:NO]; [fBrowser setTakesTitleFromPreviousColumn:NO];
[fBrowser setDoubleAction:@selector(endSheet:)]; [fBrowser setDoubleAction:@selector(endSheet:)];
@ -94,7 +94,7 @@
} }
} }
- (void)browser:(NSBrowser *)sender willDisplayCell:(id)cell atRow:(NSInteger)row column:(NSInteger)column - (void)browser:(NSBrowser *)sender willDisplayCell:(id)cell atRow:(int)row column:(int)column
{ {
if (!column) { if (!column) {
[cell setStringValue: [cell setStringValue:

View File

@ -214,19 +214,19 @@ static VLSong sPasteboard;
// //
// Data source for endings // Data source for endings
// //
- (NSInteger)numberOfRowsInTableView:(NSTableView *)aTableView - (int)numberOfRowsInTableView:(NSTableView *)aTableView
{ {
return 1; return 1;
} }
- (id)tableView:(NSTableView*)tv objectValueForTableColumn:(NSTableColumn *)col - (id)tableView:(NSTableView*)tv objectValueForTableColumn:(NSTableColumn *)col
row:(NSInteger)rowIndex row:(int)rowIndex
{ {
int mask = [[col identifier] intValue]; int mask = [[col identifier] intValue];
return (fVoltaOK & mask) ? [NSNumber numberWithBool:(fVolta & mask)] : nil; return (fVoltaOK & mask) ? [NSNumber numberWithBool:(fVolta & mask)] : nil;
} }
- (void)tableView:(NSTableView *)tv setObjectValue:(id)val forTableColumn:(NSTableColumn *)col row:(NSInteger)rowIndex - (void)tableView:(NSTableView *)tv setObjectValue:(id)val forTableColumn:(NSTableColumn *)col row:(int)rowIndex
{ {
int mask = [[col identifier] intValue]; int mask = [[col identifier] intValue];

View File

@ -571,12 +571,10 @@
2A37F4A9FDCFA73011CA2CEA /* Project object */ = { 2A37F4A9FDCFA73011CA2CEA /* Project object */ = {
isa = PBXProject; isa = PBXProject;
buildConfigurationList = 95D7BF740AA699C600D5E02C /* Build configuration list for PBXProject "Vocalese" */; buildConfigurationList = 95D7BF740AA699C600D5E02C /* Build configuration list for PBXProject "Vocalese" */;
compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1; hasScannedForEncodings = 1;
mainGroup = 2A37F4AAFDCFA73011CA2CEA /* Vocalese */; mainGroup = 2A37F4AAFDCFA73011CA2CEA /* Vocalese */;
projectDirPath = ""; projectDirPath = "";
projectRoot = ""; projectRoot = "";
shouldCheckCompatibility = 1;
targets = ( targets = (
8D15AC270486D014006FF6A4 /* Vocalese */, 8D15AC270486D014006FF6A4 /* Vocalese */,
955E595B0957C0FC0045FDA5 /* TVLChord */, 955E595B0957C0FC0045FDA5 /* TVLChord */,
@ -748,6 +746,7 @@
95D7BF750AA699C600D5E02C /* Development */ = { 95D7BF750AA699C600D5E02C /* Development */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
USER_HEADER_SEARCH_PATHS = "Sources/**"; USER_HEADER_SEARCH_PATHS = "Sources/**";
}; };
name = Development; name = Development;
@ -755,12 +754,14 @@
95D7BF760AA699C600D5E02C /* Deployment */ = { 95D7BF760AA699C600D5E02C /* Deployment */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
}; };
name = Deployment; name = Deployment;
}; };
95D7BF770AA699C600D5E02C /* Default */ = { 95D7BF770AA699C600D5E02C /* Default */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
}; };
name = Default; name = Default;
}; };
@ -812,7 +813,7 @@
GCC_PREFIX_HEADER = Sources/Vocalese_Prefix.pch; GCC_PREFIX_HEADER = Sources/Vocalese_Prefix.pch;
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = Info.plist; INFOPLIST_FILE = Resources/Info.plist;
INSTALL_PATH = "$(HOME)/Applications"; INSTALL_PATH = "$(HOME)/Applications";
PRODUCT_NAME = VocalEasel; PRODUCT_NAME = VocalEasel;
WRAPPER_EXTENSION = app; WRAPPER_EXTENSION = app;