diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-28 05:29:56 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-07 02:41:26 -0800 |
commit | 205f9f5edd78d47bca77ad6a0432f6407219cc4c (patch) | |
tree | a59967b1ec46aec46b6ca52b827fcf300facf4bd | |
parent | a54fed5bf5841570a19404451fb18e7c69ea532f (diff) |
Remove obsolete CYNavigationController::database_.
-rw-r--r-- | MobileCydia.mm | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index f5ced7b..b5f9e93 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -6822,12 +6822,10 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { /* Cydia Navigation Controller Interface {{{ */ @interface CYNavigationController : UINavigationController { - _transient Database *database_; _transient id<UINavigationControllerDelegate> delegate_; } - (NSArray *) navigationURLCollection; -- (id) initWithDatabase:(Database *)database; - (void) unloadData:(BOOL)selected; @end @@ -7158,12 +7156,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { delegate_ = delegate; } -- (id) initWithDatabase:(Database *)database { - if ((self = [super init]) != nil) { - database_ = database; - } return self; -} - @end /* }}} */ @@ -9780,7 +9772,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { NSMutableArray *controllers([NSMutableArray array]); for (UITabBarItem *item in items) { - CYNavigationController *controller([[[CYNavigationController alloc] initWithDatabase:database_] autorelease]); + CYNavigationController *controller([[[CYNavigationController alloc] init] autorelease]); [controller setTabBarItem:item]; [controllers addObject:controller]; } |