diff options
author | Bibiko <bibiko@eva.mpg.de> | 2011-03-15 22:41:05 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2011-03-15 22:41:05 +0000 |
commit | f75853dea57bc97cc264352268f9d4a311bffb9f (patch) | |
tree | f1b14de8c0393a383d7fbf68776221c9da406b81 /Source | |
parent | ce26c1a8d44743c418e6af461ba970cea3afaaee (diff) | |
download | sequelpro-f75853dea57bc97cc264352268f9d4a311bffb9f.tar.gz sequelpro-f75853dea57bc97cc264352268f9d4a311bffb9f.tar.bz2 sequelpro-f75853dea57bc97cc264352268f9d4a311bffb9f.zip |
• fixed warnings
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPActivityTextFieldCell.m | 2 | ||||
-rw-r--r-- | Source/SPBundleHTMLOutputController.h | 4 | ||||
-rw-r--r-- | Source/SPBundleHTMLOutputController.m | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/Source/SPActivityTextFieldCell.m b/Source/SPActivityTextFieldCell.m index 10194466..1ccb7207 100644 --- a/Source/SPActivityTextFieldCell.m +++ b/Source/SPActivityTextFieldCell.m @@ -259,7 +259,7 @@ static inline NSRect SPTextLinkRectFromCellRect(NSRect inRect) // Remove it from the list directly since the list will be updated in the background // to avoid to cancel a command which is already cancelled if(status == 0) - [[[controlView delegate] onMainThread] removeActivity:[[contextInfo objectForKey:@"pid"] intValue]]; + [[[(id)controlView delegate] onMainThread] removeActivity:[[contextInfo objectForKey:@"pid"] intValue]]; return YES; } diff --git a/Source/SPBundleHTMLOutputController.h b/Source/SPBundleHTMLOutputController.h index 3665fc8e..de67799c 100644 --- a/Source/SPBundleHTMLOutputController.h +++ b/Source/SPBundleHTMLOutputController.h @@ -33,7 +33,7 @@ NSString *initHTMLSourceString; NSString *windowUUID; NSString *docUUID; - BOOL suppressExceptionAlert; + BOOL suppressExceptionAlerting; WebPreferences *webPreferences; } @@ -42,7 +42,7 @@ @property(readwrite,retain) NSString *initHTMLSourceString; @property(readwrite,retain) NSString *windowUUID; @property(readwrite,retain) NSString *docUUID; -@property(assign) BOOL suppressExceptionAlert; +@property(assign) BOOL suppressExceptionAlerting; - (IBAction)printDocument:(id)sender; diff --git a/Source/SPBundleHTMLOutputController.m b/Source/SPBundleHTMLOutputController.m index 82f21468..1995cfcb 100644 --- a/Source/SPBundleHTMLOutputController.m +++ b/Source/SPBundleHTMLOutputController.m @@ -50,7 +50,7 @@ @synthesize initHTMLSourceString; @synthesize windowUUID; @synthesize docUUID; -@synthesize suppressExceptionAlert; +@synthesize suppressExceptionAlerting; /** * Initialisation @@ -70,7 +70,7 @@ #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 [webView setShouldUpdateWhileOffscreen:NO]; #endif - suppressExceptionAlert = NO; + suppressExceptionAlerting = NO; } @@ -523,7 +523,7 @@ NSString *mes = [NSString stringWithFormat:@"Exception:\nline = %ld\nfunction = %@\ncaller = %@\nexception = %@", lineno, [frame functionName], [frame caller], [frame userInfo], [frame exception]]; - if([self suppressExceptionAlert]) { + if([self suppressExceptionAlerting]) { NSLog(@"%@", mes); return; } @@ -616,7 +616,7 @@ */ - (void)suppressExceptionAlert { - [self setSuppressExceptionAlert:YES]; + [self setSuppressExceptionAlerting:YES]; } /** |