Add HostTrait methods get_clipboard_contents set_clipboard_contents, and call them instead of directly handlind clipboard

This commit is contained in:
Michal Mieczkowski 2019-06-24 22:51:43 +02:00
parent 588cec0422
commit caaa2a425c
4 changed files with 17 additions and 29 deletions

1
Cargo.lock generated
View file

@ -4311,7 +4311,6 @@ source = "git+https://github.com/pcwalton/signpost.git#7ed712507f343c38646b9d1fe
name = "simpleservo"
version = "0.0.1"
dependencies = [
"clipboard 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"core-foundation 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
"gl_generator 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",