diff --git a/packages/desktop/src/menubar.rs b/packages/desktop/src/menubar.rs index 5d1f23fe5..ca34361d4 100644 --- a/packages/desktop/src/menubar.rs +++ b/packages/desktop/src/menubar.rs @@ -36,7 +36,7 @@ mod impl_ { #[cfg(target_os = "linux")] { use tao::platform::unix::WindowExtUnix; - menu.init_for_gtk_window(window, window.default_vbox()) + menu.init_for_gtk_window(window.gtk_window(), window.default_vbox()) .unwrap(); }