]> git.saurik.com Git - cydia.git/commitdiff
Remove obsolete CYEmulatedLoadingController::database_.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 16:48:15 +0000 (08:48 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 8 Mar 2011 09:50:04 +0000 (01:50 -0800)
MobileCydia.mm

index 7a99e2fce7116a64c033a27150037308659989ce..76f8fefccf239759e80c929b8d5cdc52ef0ddcf6 100644 (file)
@@ -4233,7 +4233,6 @@ static _H<NSMutableSet> Diversions_;
 /* }}} */
 /* Emulated Loading Controller {{{ */
 @interface CYEmulatedLoadingController : CyteViewController {
 /* }}} */
 /* Emulated Loading Controller {{{ */
 @interface CYEmulatedLoadingController : CyteViewController {
-    _transient Database *database_;
     _H<CYLoadingIndicator> indicator_;
     _H<UITabBar> tabbar_;
     _H<UINavigationBar> navbar_;
     _H<CYLoadingIndicator> indicator_;
     _H<UITabBar> tabbar_;
     _H<UINavigationBar> navbar_;
@@ -4243,12 +4242,6 @@ static _H<NSMutableSet> Diversions_;
 
 @implementation CYEmulatedLoadingController
 
 
 @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]];
 
 - (void) loadView {
     [self setView:[[[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease]];
 
@@ -9351,7 +9344,7 @@ _trace();
     [window_ setUserInteractionEnabled:NO];
     [self setupViewControllers];
 
     [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];
     [window_ addSubview:[emulated_ view]];
 
     [self performSelector:@selector(loadData) withObject:nil afterDelay:0];