From: Jay Freeman (saurik) Date: Fri, 19 Nov 2010 06:54:19 +0000 (-0800) Subject: Remove PackageCell::{color_,fade_,faded_} as they are now obsolete. X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/0a29daa0d8574fdac0c488e5764f76feeb1b6380?ds=sidebyside Remove PackageCell::{color_,fade_,faded_} as they are now obsolete. --- 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; }