From: Jay Freeman (saurik) Date: Sun, 17 Oct 2010 19:14:06 +0000 (-0700) Subject: NSSize does not exist on the iPhone: Cydia therefore uses a truncated Cocoa header... X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/f49a9b09b9ef4b1317063382f2eab0a7536b8c7c?hp=149ed89eb29eb63ec75f38e814d918634058ef2a NSSize does not exist on the iPhone: Cydia therefore uses a truncated Cocoa header designed to remap usages of NSSize; using NSMakeSize therefore breaks the SDK build. This reverts commit 45b777c34a71958e5e83c23bfb3a7dd65961d943. --- diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm index 86c7da6a..e2dee3b5 100644 --- a/UICaboodle/BrowserView.mm +++ b/UICaboodle/BrowserView.mm @@ -383,7 +383,7 @@ static Class $UIWebBrowserView; if ([scroller_ respondsToSelector:@selector(setScrollerIndicatorSubrect:)]) [scroller_ setScrollerIndicatorSubrect:subrect]; - [document_ setValue:[NSValue valueWithSize:NSMakeSize(subrect.size.width, subrect.size.height)] forGestureAttribute:UIGestureAttributeVisibleSize]; + [document_ setValue:[NSValue valueWithSize:CGSizeMake(subrect.size.width, subrect.size.height)] forGestureAttribute:UIGestureAttributeVisibleSize]; CGSize size(size_); size.height += extra;