aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AppKit/GTMTheme.m10
1 files changed, 4 insertions, 6 deletions
diff --git a/AppKit/GTMTheme.m b/AppKit/GTMTheme.m
index aa7c9be..3ce4291 100644
--- a/AppKit/GTMTheme.m
+++ b/AppKit/GTMTheme.m
@@ -253,12 +253,10 @@ NSString *kGTMThemeDidChangeNotification = @"kGTMThemeDidChangeNotification";
NSColor *backgroundColor = [self backgroundColor];
switch (style) {
case GTMThemeStyleTabBarDeselected: {
- NSColor *startColor = [[backgroundColor gtm_colorAdjustedFor:uses[2]
- faded:!active]
- colorWithAlphaComponent:0.667];
- NSColor *endColor = [[backgroundColor gtm_colorAdjustedFor:uses[2]
- faded:!active]
- colorWithAlphaComponent:0.667];
+ NSColor *startColor = [backgroundColor gtm_colorAdjustedFor:uses[2]
+ faded:!active];
+ NSColor *endColor = [backgroundColor gtm_colorAdjustedFor:uses[2]
+ faded:!active];
gradient = [[[NSGradient alloc] initWithStartingColor:startColor
endingColor:endColor]