diff --git a/crates/tauri-runtime/src/window.rs b/crates/tauri-runtime/src/window.rs index 2ad7c63d4..ebbe1f59f 100644 --- a/crates/tauri-runtime/src/window.rs +++ b/crates/tauri-runtime/src/window.rs @@ -457,7 +457,7 @@ pub trait WindowBuilder: WindowBuilderBase { target_os = "netbsd", target_os = "openbsd" ))] - fn transient_for(self, parent: &impl gtk::glib::IsA) -> Self; + fn transient_for(self, parent: &impl gtk::prelude::IsA) -> Self; /// Enables or disables drag and drop support. #[cfg(windows)]