diff options
author | 2024-01-18 09:55:27 +0100 | |
---|---|---|
committer | 2024-01-18 09:55:27 +0100 | |
commit | 8bf238697226e827dc983f9d89afbd0e252c5254 (patch) | |
tree | 3594e998d60b130ab6b161aa00159e2311cbde0a /src/application.rs | |
parent | 7289b6091b61b0aa448a756cfe32211c78a4cce0 (diff) | |
download | iced-8bf238697226e827dc983f9d89afbd0e252c5254.tar.gz iced-8bf238697226e827dc983f9d89afbd0e252c5254.tar.bz2 iced-8bf238697226e827dc983f9d89afbd0e252c5254.zip |
Remove `Compositor` window generic
And update `glyphon` and `window_clipboard`
Diffstat (limited to '')
-rw-r--r-- | src/application.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/application.rs b/src/application.rs index d7be6719..9518b8c5 100644 --- a/src/application.rs +++ b/src/application.rs @@ -1,8 +1,6 @@ //! Build interactive cross-platform applications. use crate::{Command, Element, Executor, Settings, Subscription}; -use std::sync::Arc; - pub use crate::style::application::{Appearance, StyleSheet}; /// An interactive cross-platform application. @@ -210,10 +208,7 @@ pub trait Application: Sized { Ok(crate::shell::application::run::< Instance<Self>, Self::Executor, - crate::renderer::Compositor< - Arc<winit::window::Window>, - Self::Theme, - >, + crate::renderer::Compositor<Self::Theme>, >(settings.into(), renderer_settings)?) } } |