diff --git a/AppKit/CPColor.j b/AppKit/CPColor.j index 2ba97a1cc..5866fb0d4 100644 --- a/AppKit/CPColor.j +++ b/AppKit/CPColor.j @@ -267,7 +267,7 @@ var cachedBlackColor, @return an initialized RGB color */ -+ (CPColor)colorWithHexString:(string)hex ++ (CPColor)colorWithHexString:(CPString)hex { var rgba = hexToRGB(hex); return rgba ? [[CPColor alloc] _initWithRGBA: rgba] : null; diff --git a/AppKit/Themes/Aristo/ThemeDescriptors.j b/AppKit/Themes/Aristo/ThemeDescriptors.j index 1b87eef24..6902f92c7 100755 --- a/AppKit/Themes/Aristo/ThemeDescriptors.j +++ b/AppKit/Themes/Aristo/ThemeDescriptors.j @@ -2152,7 +2152,7 @@ var themedButtonValues = nil, [segmentedControl setTag:3 forSegment:2]; return segmentedControl; -} +}; + (CPSegmentedControl)themedSegmentedControl {