Update SCTK to 0.12

This commit is contained in:
Kirill Chibisov 2020-09-30 18:05:24 +03:00
parent 12b9edc4f3
commit eef2ca9f2e
4 changed files with 11 additions and 12 deletions

View file

@ -31,7 +31,7 @@ impl DispatchData {
fn main() {
// Setup default desktop environment
let (env, display, queue) = sctk::init_default_environment!(ClipboardExample, desktop)
let (env, display, queue) = sctk::new_default_environment!(ClipboardExample, desktop)
.expect("unable to connect to a Wayland compositor.");
// Create event loop