diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-19 16:16:44 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-19 17:01:07 -0800 |
commit | 8dbdaafa2948a9c2fb180a9571bf3bb0a669b934 (patch) | |
tree | ba9a5991cbcba7b1b8a6521b3416e5ca0ec3b2ea /MobileCydia.mm | |
parent | 673a6e1ab4f3aab438db5281785b516c3c151e48 (diff) |
Use setViewportWidth: only on main thread.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index cdc9a52..17b08bd 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4109,7 +4109,7 @@ static NSString *Warning_; } - (void) setViewportWidth:(float)width { - [indirect_ setViewportWidth:width]; + [indirect_ setViewportWidthOnMainThread:width]; } - (NSString *) stringWithFormat:(NSString *)format arguments:(WebScriptObject *)arguments { |