From 5cc1ef96097d927ac797beceec32624b35d9840a Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Tue, 10 Mar 2009 15:26:13 -0700 Subject: [PATCH] Fix commented code. Reviewed by me. --- AppKit/CPThemedAttribute.j | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AppKit/CPThemedAttribute.j b/AppKit/CPThemedAttribute.j index 17dc3ffc4..d8073b6bd 100644 --- a/AppKit/CPThemedAttribute.j +++ b/AppKit/CPThemedAttribute.j @@ -58,7 +58,7 @@ var BIT_COUNT = [ 0 /*00000*/, 1 /*00001*/, 1 /*00010*/, 2 /*00011*/, 1 /*0010 _themedClass = aClass; _values = [CPDictionary dictionary]; - _attributeFromTheme = nil;//[_theme valueForAttributeName:_name inClass:_themedClass]; + _attributeFromTheme = [_theme valueForAttributeName:_name inClass:_themedClass]; } return self; @@ -87,7 +87,7 @@ var BIT_COUNT = [ 0 /*00000*/, 1 /*00001*/, 1 /*00010*/, 2 /*00011*/, 1 /*0010 _cache = {}; _theme = aTheme; - _attributeFromTheme = nil;//[_theme valueForAttributeName:_name inClass:_themedClass]; + _attributeFromTheme = [_theme valueForAttributeName:_name inClass:_themedClass]; } - (void)setThemedClass:(Class)aClass @@ -97,7 +97,7 @@ var BIT_COUNT = [ 0 /*00000*/, 1 /*00001*/, 1 /*00010*/, 2 /*00011*/, 1 /*0010 _cache = {}; _themedClass = aClass; - _attributeFromTheme = nil;//[_theme valueForAttributeName:_name inClass:_themedClass]; + _attributeFromTheme = [_theme valueForAttributeName:_name inClass:_themedClass]; } - (void)setValue:(id)aValue