]> git.saurik.com Git - cydia.git/commitdiff
If you are going to use a private API (pinStripeColor), it has to be in iPhonePrivate.h.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 13 Nov 2010 20:50:47 +0000 (12:50 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 15 Nov 2010 22:39:12 +0000 (14:39 -0800)
MobileCydia.mm
iPhonePrivate.h

index c4099daf157c881912ff5ab81e2c3ae42c39330d..98a99da1a99ae524fa5cc8f7cd38a7f1d65543be 100644 (file)
@@ -8735,7 +8735,7 @@ static _finline void _setHomePage(Cydia *self) {
     [window_ addSubview:[container_ view]];
 
     // Show pinstripes while loading data.
-    [[container_ view] setBackgroundColor:[UIColor performSelector:@selector(pinStripeColor)]];
+    [[container_ view] setBackgroundColor:[UIColor pinStripeColor]];
 
     [self performSelector:@selector(loadData) withObject:nil afterDelay:0];
 }
index fcdb490a124a234048b33417274a8bfc8b3f8d0d..239c3f5a8b08d371e9e76059b0a24ca1d202640b 100644 (file)
@@ -204,6 +204,10 @@ typedef enum {
 - (UIView *) view;
 @end
 
+@interface UIColor (Apple)
++ (UIColor *) pinStripeColor;
+@end
+
 @interface UIControl (Apple)
 - (void) addTarget:(id)target action:(SEL)action forEvents:(NSInteger)events;
 @end