From: Jay Freeman (saurik) Date: Mon, 7 Mar 2011 16:48:15 +0000 (-0800) Subject: Remove obsolete CYEmulatedLoadingController::database_. X-Git-Tag: v1.1.0%b1~24 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/70393dbc2bc6a9d5ff532ca1b30a22534164ea18?ds=sidebyside Remove obsolete CYEmulatedLoadingController::database_. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 7a99e2fc..76f8fefc 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];