aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPreferenceController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-09 15:19:40 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-09 15:19:40 +0000
commitafbd3852fa962b3b4399b83ba33295c7621d04a8 (patch)
tree85644bdcb5091955483e67e88308e5c535bb6248 /Source/SPPreferenceController.m
parent9131db394c46f10260fcec1a1df5216b140e2bc2 (diff)
downloadsequelpro-afbd3852fa962b3b4399b83ba33295c7621d04a8.tar.gz
sequelpro-afbd3852fa962b3b4399b83ba33295c7621d04a8.tar.bz2
sequelpro-afbd3852fa962b3b4399b83ba33295c7621d04a8.zip
Fix more gcc warnings.
Diffstat (limited to 'Source/SPPreferenceController.m')
-rw-r--r--Source/SPPreferenceController.m14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/SPPreferenceController.m b/Source/SPPreferenceController.m
index 01d39e25..78cb0b9b 100644
--- a/Source/SPPreferenceController.m
+++ b/Source/SPPreferenceController.m
@@ -71,7 +71,7 @@
{
[self _setupToolbar];
- [generalPreferencePane updateDefaultFavoritePopup];
+ [(SPGeneralPreferencePane *)generalPreferencePane updateDefaultFavoritePopup];
preferencePanes = [[NSArray alloc] initWithObjects:
generalPreferencePane,
@@ -121,7 +121,7 @@
[toolbar setSelectedItemIdentifier:[tablesPreferencePane preferencePaneIdentifier]];
- [tablesPreferencePane updateDisplayedTableFontName];
+ [(SPTablesPreferencePane *)tablesPreferencePane updateDisplayedTableFontName];
[self _resizeWindowForContentView:[tablesPreferencePane preferencePaneView]];
}
@@ -131,15 +131,15 @@
*/
- (IBAction)displayEditorPreferences:(id)sender
{
- [editorPreferencePane updateColorSchemeSelectionMenu];
- [editorPreferencePane updateDisplayColorThemeName];
+ [(SPEditorPreferencePane *)editorPreferencePane updateColorSchemeSelectionMenu];
+ [(SPEditorPreferencePane *)editorPreferencePane updateDisplayColorThemeName];
[[self window] setMinSize:NSMakeSize(0, 0)];
[[self window] setShowsResizeIndicator:[editorPreferencePane preferencePaneAllowsResizing]];
[toolbar setSelectedItemIdentifier:[editorPreferencePane preferencePaneIdentifier]];
- [editorPreferencePane updateDisplayedEditorFontName];
+ [(SPEditorPreferencePane *)editorPreferencePane updateDisplayedEditorFontName];
[self _resizeWindowForContentView:[editorPreferencePane preferencePaneView]];
}
@@ -164,14 +164,14 @@
[prefs setObject:[NSArchiver archivedDataWithRootObject:font] forKey:SPGlobalResultTableFont];
- [tablesPreferencePane updateDisplayedTableFontName];
+ [(SPTablesPreferencePane *)tablesPreferencePane updateDisplayedTableFontName];
break;
case 2:
font = [[NSFontPanel sharedFontPanel] panelConvertFont:[NSUnarchiver unarchiveObjectWithData:[prefs dataForKey:SPCustomQueryEditorFont]]];
[prefs setObject:[NSArchiver archivedDataWithRootObject:font] forKey:SPCustomQueryEditorFont];
- [editorPreferencePane updateDisplayedEditorFontName];
+ [(SPEditorPreferencePane *)editorPreferencePane updateDisplayedEditorFontName];
break;
}
}