diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-21 03:38:18 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-21 03:40:08 -0800 |
commit | 3c41c9d562df8a4750db6973017807ffae120cc2 (patch) | |
tree | 449345cb45f98587722c93c98e1bfa790738715d /MobileCydia.mm | |
parent | 124cea03e0ddad4e041caafc3112e9c34a2af075 (diff) |
Remove (id) typecast from CydiaApp.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index e21e3d8..9dbce5e 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -1161,7 +1161,7 @@ bool isSectionVisible(NSString *section) { - (void) reloadDataWithInvocation:(NSInvocation *)invocation; @end -static id<CydiaDelegate> CydiaApp; +static NSObject<CydiaDelegate> *CydiaApp; /* }}} */ /* Status Delegation {{{ */ @@ -3678,7 +3678,7 @@ static NSString *Warning_; return; } - [(id)CydiaApp performSelectorOnMainThread:@selector(retainNetworkActivityIndicator) withObject:nil waitUntilDone:YES]; + [CydiaApp performSelectorOnMainThread:@selector(retainNetworkActivityIndicator) withObject:nil waitUntilDone:YES]; bool failed = false; for (pkgAcquire::ItemIterator item = fetcher_->ItemsBegin(); item != fetcher_->ItemsEnd(); item++) { @@ -3701,7 +3701,7 @@ static NSString *Warning_; ]; } - [(id)CydiaApp performSelectorOnMainThread:@selector(releaseNetworkActivityIndicator) withObject:nil waitUntilDone:YES]; + [CydiaApp performSelectorOnMainThread:@selector(releaseNetworkActivityIndicator) withObject:nil waitUntilDone:YES]; if (failed) { _trace(); |