Prevent ClipboardContext::new from panicing on OSX if NSPasteboard#generalPasteboard fails (https://github.com/servo/servo/issues/7380).

This commit is contained in:
Avi Weinstock 2015-08-31 08:29:43 -04:00
parent fea36ceb9a
commit fd4147fe7c
3 changed files with 3 additions and 3 deletions

View file

@ -169,7 +169,7 @@ dependencies = [
[[package]]
name = "clipboard"
version = "0.0.3"
source = "git+https://github.com/aweinstock314/rust-clipboard#b0092c8630d4362e4618533822bea90a034b0792"
source = "git+https://github.com/aweinstock314/rust-clipboard#8c4c31e73a5ac5afd97825acc4c534dccfc0ab9b"
dependencies = [
"clipboard-win 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",

2
ports/cef/Cargo.lock generated
View file

@ -168,7 +168,7 @@ dependencies = [
[[package]]
name = "clipboard"
version = "0.0.3"
source = "git+https://github.com/aweinstock314/rust-clipboard#b0092c8630d4362e4618533822bea90a034b0792"
source = "git+https://github.com/aweinstock314/rust-clipboard#8c4c31e73a5ac5afd97825acc4c534dccfc0ab9b"
dependencies = [
"clipboard-win 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",

2
ports/gonk/Cargo.lock generated
View file

@ -149,7 +149,7 @@ dependencies = [
[[package]]
name = "clipboard"
version = "0.0.3"
source = "git+https://github.com/aweinstock314/rust-clipboard#b0092c8630d4362e4618533822bea90a034b0792"
source = "git+https://github.com/aweinstock314/rust-clipboard#8c4c31e73a5ac5afd97825acc4c534dccfc0ab9b"
dependencies = [
"clipboard-win 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",