summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-05 11:10:38 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:38 -0800
commit4ed3775e6f6977752cb483756b936c5a0851b66b (patch)
treea2a8caa6b9cc7df48fb4d2d5849075e9d94eef18 /MobileCydia.mm
parentf670bbc2910a9fdfa32f8926e5361589296980a4 (diff)
Remove obsolete _updateLayoutForStatusBarAndInterfaceOrientation fix.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm17
1 files changed, 0 insertions, 17 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 063800e..79ab076 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -6494,7 +6494,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
// XXX: ok, "updatedelegate_"?...
_transient NSObject<CydiaDelegate> *updatedelegate_;
- id root_;
_H<UIViewController> 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 {