vte: silence warnings

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2024-07-24 20:06:46 +04:00
parent 912e945758
commit edc7c26a54

View File

@ -29,10 +29,7 @@ fn main() {
window.set_child(Some(&term));
let id = chardev_id.clone();
MainContext::default().spawn_local(clone!(
#[strong]
window,
async move {
MainContext::default().spawn_local(clone!(async move {
let conn = Connection::session()
.await
.expect("Failed to connect to session D-Bus");
@ -67,10 +64,9 @@ fn main() {
}
}
}
}
));
}));
window.show();
window.set_visible(true);
});
app.run();