From 2b1b1ea33b4ec1c33e2eeeb817baea0c6afb8956 Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Wed, 12 Dec 2012 17:45:59 +0000 Subject: [PATCH] Fixed: CPScrollView setGlobalScrollerStyle: return value. --- AppKit/CPScrollView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPScrollView.j b/AppKit/CPScrollView.j index 15af71088..93fb6b374 100644 --- a/AppKit/CPScrollView.j +++ b/AppKit/CPScrollView.j @@ -213,7 +213,7 @@ var CPScrollerStyleGlobal = CPScrollerStyleOverlay, @param aStyle the scroller style to set all scroller views to use (CPScrollerStyleLegacy or CPScrollerStyleOverlay) */ -+ (int)setGlobalScrollerStyle:(int)aStyle ++ (void)setGlobalScrollerStyle:(int)aStyle { CPScrollerStyleGlobal = aStyle; [[CPNotificationCenter defaultCenter] postNotificationName:CPScrollerStyleGlobalChangeNotification object:nil];