From 342c8314386c4724cd4a3b78fa44874513a04e34 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 1 Jan 2011 17:14:22 -0800 Subject: [PATCH] Remove (unused) +[PackageCell heightForPackage:]. --- MobileCydia.mm | 13 ------------- 1 file changed, 13 deletions(-) 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]); -- 2.45.2