From 70393dbc2bc6a9d5ff532ca1b30a22534164ea18 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 7 Mar 2011 08:48:15 -0800 Subject: Remove obsolete CYEmulatedLoadingController::database_. --- MobileCydia.mm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'MobileCydia.mm') diff --git a/MobileCydia.mm b/MobileCydia.mm index 7a99e2f..76f8fef 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4233,7 +4233,6 @@ static _H Diversions_; /* }}} */ /* Emulated Loading Controller {{{ */ @interface CYEmulatedLoadingController : CyteViewController { - _transient Database *database_; _H indicator_; _H tabbar_; _H navbar_; @@ -4243,12 +4242,6 @@ static _H Diversions_; @implementation CYEmulatedLoadingController -- (id) initWithDatabase:(Database *)database { - if ((self = [super init]) != nil) { - database_ = database; - } return self; -} - - (void) loadView { [self setView:[[[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease]]; @@ -9351,7 +9344,7 @@ _trace(); [window_ setUserInteractionEnabled:NO]; [self setupViewControllers]; - emulated_ = [[[CYEmulatedLoadingController alloc] initWithDatabase:database_] autorelease]; + emulated_ = [[[CYEmulatedLoadingController alloc] init] autorelease]; [window_ addSubview:[emulated_ view]]; [self performSelector:@selector(loadData) withObject:nil afterDelay:0]; -- cgit v1.2.3