]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/BrowserView.mm
NSSize does not exist on the iPhone: Cydia therefore uses a truncated Cocoa header...
[cydia.git] / UICaboodle / BrowserView.mm
index 86c7da6ae791a9025ec47b47b2ecaf5ca55662dc..e2dee3b5df8d40d02fe8e0ad109bc50e3ef6ce85 100644 (file)
@@ -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;