Skip to content

Commit

Permalink
Typo in method name + make some methods private
Browse files Browse the repository at this point in the history
  • Loading branch information
primalmotion committed Apr 25, 2012
1 parent 7209273 commit b04dbb6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions AppKit/CPView.j
Expand Up @@ -222,7 +222,7 @@ var CPCurrentToolTip,
CachedNotificationCenter = [CPNotificationCenter defaultCenter];
}

- (void)setupViewFlags
- (void)_setupViewFlags
{
var theClass = [self class],
classUID = [theClass UID];
Expand All @@ -243,7 +243,7 @@ var CPCurrentToolTip,
_viewClassFlags = CPViewFlags[classUID];
}

- (void)setupToolTipHanlders
- (void)_setupToolTipHandlers
{
_toolTipInstalled = NO;
_toolTipFunctionIn = function(e){[self _fireToolTip];}
Expand Down Expand Up @@ -316,8 +316,8 @@ var CPCurrentToolTip,
_theme = [CPTheme defaultTheme];
_themeState = CPThemeStateNormal;

[self setupToolTipHanlders];
[self setupViewFlags];
[self _setupToolTipHandlers];
[self _setupViewFlags];

[self _loadThemeAttributes];
}
Expand Down Expand Up @@ -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];
Expand Down Expand Up @@ -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];
Expand Down

0 comments on commit b04dbb6

Please sign in to comment.