Browse files

Typo in method name + make some methods private

  • Loading branch information...
1 parent 7209273 commit b04dbb647b58d089aa5578930ede63fd4a99d935 @primalmotion primalmotion committed Apr 25, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 AppKit/CPView.j
View
12 AppKit/CPView.j
@@ -222,7 +222,7 @@ var CPCurrentToolTip,
CachedNotificationCenter = [CPNotificationCenter defaultCenter];
}
-- (void)setupViewFlags
+- (void)_setupViewFlags
{
var theClass = [self class],
classUID = [theClass UID];
@@ -243,7 +243,7 @@ var CPCurrentToolTip,
_viewClassFlags = CPViewFlags[classUID];
}
-- (void)setupToolTipHanlders
+- (void)_setupToolTipHandlers
{
_toolTipInstalled = NO;
_toolTipFunctionIn = function(e){[self _fireToolTip];}
@@ -316,8 +316,8 @@ var CPCurrentToolTip,
_theme = [CPTheme defaultTheme];
_themeState = CPThemeStateNormal;
- [self setupToolTipHanlders];
- [self setupViewFlags];
+ [self _setupToolTipHandlers];
+ [self _setupViewFlags];
[self _loadThemeAttributes];
}
@@ -2891,7 +2891,7 @@ var CPViewAutoresizingMaskKey = @"CPViewAutoresizingMask",
_hitTests = ![aCoder containsValueForKey:CPViewHitTestsKey] || [aCoder decodeBoolForKey:CPViewHitTestsKey];
- [self setupToolTipHanlders];
+ [self _setupToolTipHandlers];
_toolTip = [aCoder decodeObjectForKey:CPViewToolTipKey];
if (_toolTip)
[self _installToolTipEventHandlers];
@@ -2922,7 +2922,7 @@ var CPViewAutoresizingMaskKey = @"CPViewAutoresizingMask",
_opacity = 1.0;
[self setBackgroundColor:[aCoder decodeObjectForKey:CPViewBackgroundColorKey]];
- [self setupViewFlags];
+ [self _setupViewFlags];
_theme = [CPTheme defaultTheme];
_themeClass = [aCoder decodeObjectForKey:CPViewThemeClassKey];

0 comments on commit b04dbb6

Please sign in to comment.