From: Jay Freeman (saurik) Date: Sat, 5 Mar 2011 19:10:38 +0000 (-0800) Subject: Remove obsolete _updateLayoutForStatusBarAndInterfaceOrientation fix. X-Git-Tag: v1.1.0%b1~54 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/4ed3775e6f6977752cb483756b936c5a0851b66b Remove obsolete _updateLayoutForStatusBarAndInterfaceOrientation fix. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 063800e0..79ab076e 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -6494,7 +6494,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { // XXX: ok, "updatedelegate_"?... _transient NSObject *updatedelegate_; - id root_; _H remembered_; _transient UIViewController *transient_; } @@ -6714,9 +6713,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { // Ensure bar has the proper width for our view, it might have changed barframe.size.width = viewframe.size.width; [refreshbar_ setFrame:barframe]; - - // XXX: fix Apple's layout bug - [[root_ selectedViewController] _updateLayoutForStatusBarAndInterfaceOrientation]; } - (void) raiseBar:(BOOL)animated { @@ -6739,17 +6735,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { if (animated) [UIView commitAnimations]; - - // XXX: fix Apple's layout bug - // SRK [[self selectedViewController] _updateLayoutForStatusBarAndInterfaceOrientation]; -} - -#if 0 -- (void) willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation duration:(NSTimeInterval)duration { - // XXX: fix Apple's layout bug - // SRK [[self selectedViewController] _updateLayoutForStatusBarAndInterfaceOrientation]; } -#endif - (void) didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation { bool dropped(dropped_); @@ -6761,9 +6747,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { if (dropped) [self dropBar:NO]; - - // XXX: fix Apple's layout bug - // SRK [[self selectedViewController] _updateLayoutForStatusBarAndInterfaceOrientation]; } - (void) statusBarFrameChanged:(NSNotification *)notification {