Remove duplicate WindowExtUnix import

The trait is already imported at the top level with a cfg(linux) gate.
The inner import inside the webview builder block was redundant.
This commit is contained in:
Adrian Kumpf
2026-02-25 14:14:51 +01:00
parent 72a9831f30
commit bd2acdde1b
-1
View File
@@ -138,7 +138,6 @@ fn main() -> anyhow::Result<()> {
#[cfg(not(any(target_os = "windows", target_os = "macos",)))]
let webview = {
use tao::platform::unix::WindowExtUnix;
use wry::WebViewBuilderExtUnix;
let vbox = window.default_vbox().unwrap();
builder.build_gtk(vbox)?