From 205f9f5edd78d47bca77ad6a0432f6407219cc4c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 28 Feb 2011 05:29:56 -0800 Subject: Remove obsolete CYNavigationController::database_. --- MobileCydia.mm | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'MobileCydia.mm') 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 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]; } -- cgit v1.2.3