]> git.saurik.com Git - cydget.git/commitdiff
Do not link against finally-dead TPBottomLockBar.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 27 Nov 2014 12:52:03 +0000 (04:52 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 27 Nov 2014 12:52:03 +0000 (04:52 -0800)
LockScreen.mm

index ed923643ecc579d15addd34fb373354a69e96b5c..12bef6be2f924eecf9ca9a949aa130e0260b8ca4 100644 (file)
@@ -410,7 +410,7 @@ MSInstanceMessageHook0(BOOL, NSURL, isSpringboardHandledURL) {
     if ((self = [super initWithFrame:frame]) != nil) {
         CGRect bounds([self bounds]);
         if (kCFCoreFoundationVersionNumber < 800)
     if ((self = [super initWithFrame:frame]) != nil) {
         CGRect bounds([self bounds]);
         if (kCFCoreFoundationVersionNumber < 800)
-            bounds.size.height -= [TPBottomLockBar defaultHeight];
+            bounds.size.height -= [objc_getClass("TPBottomLockBar") defaultHeight];
 
         webview_ = [[CydgetWebView alloc] initWithFrame:bounds];
         [webview_ setDelegate:self];
 
         webview_ = [[CydgetWebView alloc] initWithFrame:bounds];
         [webview_ setDelegate:self];