From 06839c7d4d7341c2afeda0c1fbab7021c0acaf10 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 8 Jan 2014 07:40:57 -0800 Subject: [PATCH] Avoid calling through WinterBoard during static. --- Settings.mm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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]; -- 2.45.2