From ca5cd8e09b16976f81c73aa638e55f9497ef566f Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 28 Mar 2019 14:51:15 -0700 Subject: [PATCH] Fixed: CPScroller's style method should have returned int Despite returning an int and a comment stating it returns a value, CPScroller's style method had a return type of void. --- AppKit/CPScroller.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPScroller.j b/AppKit/CPScroller.j index 6755624cb..4984a4f16 100644 --- a/AppKit/CPScroller.j +++ b/AppKit/CPScroller.j @@ -208,7 +208,7 @@ CPThemeStateScrollerKnobDark = CPThemeState("scroller-knob-dark"); /*! Returns the scroller's style */ -- (void)style +- (int)style { return _style; }