]> git.saurik.com Git - cydia.git/commitdiff
NSSize does not exist on the iPhone: Cydia therefore uses a truncated Cocoa header...
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 17 Oct 2010 19:14:06 +0000 (12:14 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 17 Oct 2010 19:14:06 +0000 (12:14 -0700)
This reverts commit 45b777c34a71958e5e83c23bfb3a7dd65961d943.

UICaboodle/BrowserView.mm

index 86c7da6ae791a9025ec47b47b2ecaf5ca55662dc..e2dee3b5df8d40d02fe8e0ad109bc50e3ef6ce85 100644 (file)
@@ -383,7 +383,7 @@ static Class $UIWebBrowserView;
     if ([scroller_ respondsToSelector:@selector(setScrollerIndicatorSubrect:)])
         [scroller_ setScrollerIndicatorSubrect:subrect];
 
     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;
 
     CGSize size(size_);
     size.height += extra;