diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2017-02-15 01:38:42 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2017-02-15 01:38:42 -0800 |
commit | 63755c48fd5fe4f31775e0f38857314879b93f39 (patch) | |
tree | c3018c82893e52b80a40b0795ee47001d3318da4 /MobileCydia.mm | |
parent | 09e03d2385c301e68025da688831f50dd2e3734d (diff) |
Move more of sysroot's sadness into iPhonePrivate.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 4f90372..4e8f718 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -53,7 +53,6 @@ #include <QuartzCore/CALayer.h> #include <WebCore/WebCoreThread.h> -#include <WebKit/DOMHTMLIFrameElement.h> #include <algorithm> #include <fstream> @@ -8855,7 +8854,7 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi [alert setNumberOfRows:1]; [alert addTextFieldWithValue:@"http://" label:@""]; - UITextInputTraits *traits = [[alert textField] textInputTraits]; + NSObject<UITextInputTraits> *traits = [[alert textField] textInputTraits]; [traits setAutocapitalizationType:UITextAutocapitalizationTypeNone]; [traits setAutocorrectionType:UITextAutocorrectionTypeNo]; [traits setKeyboardType:UIKeyboardTypeURL]; @@ -9605,7 +9604,7 @@ _end [super applicationSuspend]; } -- (void) applicationSuspend:(__GSEvent *)event { +- (void) applicationSuspend:(GSEventRef)event { if ([self isSafeToSuspend]) [super applicationSuspend:event]; } |