From: Jay Freeman (saurik) Date: Sun, 2 Jan 2011 01:14:22 +0000 (-0800) Subject: Remove (unused) +[PackageCell heightForPackage:]. X-Git-Tag: v1.1.0%b1~382 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/342c8314386c4724cd4a3b78fa44874513a04e34 Remove (unused) +[PackageCell heightForPackage:]. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 79b34952..8842b13c 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4887,7 +4887,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { - (PackageCell *) init; - (void) setPackage:(Package *)package; -+ (int) heightForPackage:(Package *)package; - (void) drawContentRect:(CGRect)rect; @end @@ -5067,10 +5066,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [placard_ drawAtPoint:CGPointMake(width - 52, 9)]; } -+ (int) heightForPackage:(Package *)package { - return 73; -} - @end /* }}} */ /* Section Cell {{{ */ @@ -5632,10 +5627,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [list_ deselectRowAtIndexPath:[list_ indexPathForSelectedRow] animated:animated]; } -/*- (CGFloat) tableView:(UITableView *)table heightForRowAtIndexPath:(NSIndexPath *)path { - return [PackageCell heightForPackage:[self packageAtIndexPath:path]]; -}*/ - - (NSIndexPath *) tableView:(UITableView *)table willSelectRowAtIndexPath:(NSIndexPath *)path { Package *package([self packageAtIndexPath:path]); package = [database_ packageWithName:[package id]]; @@ -7511,10 +7502,6 @@ freeing the view controllers on tab change */ return cell; } -/*- (CGFloat) tableView:(UITableView *)table heightForRowAtIndexPath:(NSIndexPath *)path { - return [PackageCell heightForPackage:[self packageAtIndexPath:path]]; -}*/ - - (NSIndexPath *) tableView:(UITableView *)table willSelectRowAtIndexPath:(NSIndexPath *)path { Package *package([self packageAtIndexPath:path]); PackageController *view([delegate_ packageController]);