From: Jay Freeman (saurik) Date: Wed, 8 Jan 2014 15:40:57 +0000 (-0800) Subject: Avoid calling through WinterBoard during static. X-Git-Tag: v0.9.3912~24 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/06839c7d4d7341c2afeda0c1fbab7021c0acaf10 Avoid calling through WinterBoard during static. --- diff --git a/Settings.mm b/Settings.mm index 5f1ab8c..cba01a4 100644 --- a/Settings.mm +++ b/Settings.mm @@ -127,8 +127,6 @@ static NSString *_plist; @property (nonatomic, retain) NSMutableArray *themes; -+ (void) load; - - (id) initForContentSize:(CGSize)size; - (id) view; - (id) navigationTitle; @@ -150,7 +148,7 @@ static NSString *_plist; @synthesize themes = _themes; -+ (void) load { ++ (void) initialize { NSAutoreleasePool *pool([[NSAutoreleasePool alloc] init]); checkImage = [_UIImageWithName(@"UIPreferencesBlueCheck.png") retain]; uncheckedImage = [[UIImage imageWithContentsOfFile:@"/System/Library/PreferenceBundles/WinterBoardSettings.bundle/SearchResultsCheckmarkClear.png"] retain];