From 69b16852801ba7b2f57cc29ed7fab6879717360f Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Wed, 17 Dec 2008 18:07:37 -0800 Subject: [PATCH] Fix for http://cappuccino.lighthouseapp.com/projects/16499/tickets/170-appkitcptextfieldj-textfieldbackground-argreturn-types-are-incorrect [#170 state:resolved milestone:0.6.1] --- AppKit/CPTextField.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPTextField.j b/AppKit/CPTextField.j index e71c71f78..a6f128cd5 100644 --- a/AppKit/CPTextField.j +++ b/AppKit/CPTextField.j @@ -297,7 +297,7 @@ var _CPTextFieldSquareBezelColor = nil, Sets the background color, which is shown for non-bezeled text fields with drawsBackground set to YES @param aColor The background color */ -- (void)setTextFieldBackgroundColor:(BOOL)aColor +- (void)setTextFieldBackgroundColor:(CPColor)aColor { if (_textFieldBackgroundColor == aColor) return; @@ -310,7 +310,7 @@ var _CPTextFieldSquareBezelColor = nil, /*! Returns the background color. */ -- (BOOL)textFieldBackgroundColor +- (CPColor)textFieldBackgroundColor { return _textFieldBackgroundColor; }