summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2017-03-06 21:39:14 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2017-03-06 21:39:14 -0800
commit2b5ceba288a3a3de4bceb6767953972b30f97f46 (patch)
treea20146363024d3895ef3bff3616dfa3eaa826c32 /MobileCydia.mm
parentfd75908cce0497d8638b82870e5bc4ae215b31e3 (diff)
CyteKit: {retain,release}NetworkActivityIndicator.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm20
1 files changed, 0 insertions, 20 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index dce9dec..e688103 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -8350,7 +8350,6 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
_H<NSURL> starturl_;
unsigned locked_;
- unsigned activity_;
_H<StashController> stash_;
@@ -8771,25 +8770,6 @@ _end
[self unlockSuspend];
}
-- (void) retainNetworkActivityIndicator {
- if (activity_++ == 0)
- [self setNetworkActivityIndicatorVisible:YES];
-
-#if TraceLogging
- NSLog(@"retainNetworkActivityIndicator->%d", activity_);
-#endif
-}
-
-- (void) releaseNetworkActivityIndicator {
- if (--activity_ == 0)
- [self setNetworkActivityIndicatorVisible:NO];
-
-#if TraceLogging
- NSLog(@"releaseNetworkActivityIndicator->%d", activity_);
-#endif
-
-}
-
- (void) cancelAndClear:(bool)clear {
@synchronized (self) {
if (clear) {