From 0a29daa0d8574fdac0c488e5764f76feeb1b6380 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 18 Nov 2010 22:54:19 -0800 Subject: [PATCH] Remove PackageCell::{color_,fade_,faded_} as they are now obsolete. --- MobileCydia.mm | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 3256fa99..7197a31b 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4640,9 +4640,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { NSString *source_; UIImage *badge_; Package *package_; - UIColor *color_; - BOOL faded_; - float fade_; UIImage *placard_; } @@ -4693,14 +4690,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { - (void) dealloc { [self clearPackage]; - [color_ release]; [super dealloc]; } -- (float) fade { - return faded_ ? [self selectionPercent] : fade_; -} - - (PackageCell *) init { CGRect frame(CGRectMake(0, 0, 320, 74)); if ((self = [super initWithFrame:frame reuseIdentifier:@"Package"]) != nil) { @@ -4713,8 +4705,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [content_ setDelegate:self]; [content_ setOpaque:YES]; - if ([self respondsToSelector:@selector(selectionPercent)]) - faded_ = YES; } return self; } -- 2.45.2