From: Jay Freeman (saurik) Date: Thu, 27 Nov 2014 12:52:03 +0000 (-0800) Subject: Do not link against finally-dead TPBottomLockBar. X-Git-Tag: v0.9.4013~8 X-Git-Url: https://git.saurik.com/cydget.git/commitdiff_plain/33b267475008589aeebcb3913e6ebea34ad512e5 Do not link against finally-dead TPBottomLockBar. --- diff --git a/LockScreen.mm b/LockScreen.mm index ed92364..12bef6b 100644 --- a/LockScreen.mm +++ b/LockScreen.mm @@ -410,7 +410,7 @@ MSInstanceMessageHook0(BOOL, NSURL, isSpringboardHandledURL) { 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];