]> git.saurik.com Git - winterboard.git/commitdiff
Avoid calling through WinterBoard during static.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 8 Jan 2014 15:40:57 +0000 (07:40 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 8 Jan 2014 15:40:57 +0000 (07:40 -0800)
Settings.mm

index 5f1ab8cf93e17d61809f17ed0aa8da16159c727a..cba01a4ad23d6b96123fec1ebff55b2cfb2f6fb3 100644 (file)
@@ -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];