Skip to content

Commit

Permalink
chore(deps) Update Tauri Core (dev) (#8227)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <[email protected]>
  • Loading branch information
renovate[bot] and lucasfernog committed Nov 19, 2023
1 parent 5e84e92 commit aa1d67a
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 12 deletions.
6 changes: 3 additions & 3 deletions core/tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ ico = { version = "0.3.0", optional = true }
http-range = { version = "0.1.5", optional = true }

[target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\", target_os = \"windows\", target_os = \"macos\"))".dependencies]
muda = { version = "0.10", default-features = false, features = [ "serde" ] }
tray-icon = { version = "0.10", default-features = false, features = [ "serde" ], optional = true }
muda = { version = "0.11", default-features = false, features = [ "serde" ] }
tray-icon = { version = "0.11", default-features = false, features = [ "serde" ], optional = true }

[target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
gtk = { version = "0.18", features = [ "v3_24" ] }
Expand Down Expand Up @@ -113,7 +113,7 @@ once_cell = "1"
tauri-build = { path = "../tauri-build/", version = "2.0.0-alpha.11" }

[dev-dependencies]
proptest = "1.3.1"
proptest = "1.4.0"
quickcheck = "1.0.3"
quickcheck_macros = "1.0.0"
serde = { version = "1.0", features = [ "derive" ] }
Expand Down
4 changes: 3 additions & 1 deletion core/tauri/src/menu/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ impl<R: Runtime> ContextMenuBase for Menu<R> {
target_os = "openbsd"
))]
if let Ok(w) = window.gtk_window() {
self_.inner().show_context_menu_for_gtk_window(&w, position);
self_
.inner()
.show_context_menu_for_gtk_window(w.as_ref(), position);
}

#[cfg(windows)]
Expand Down
4 changes: 3 additions & 1 deletion core/tauri/src/menu/submenu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ impl<R: Runtime> ContextMenuBase for Submenu<R> {
target_os = "openbsd"
))]
if let Ok(w) = window.gtk_window() {
self_.inner().show_context_menu_for_gtk_window(&w, position);
self_
.inner()
.show_context_menu_for_gtk_window(w.as_ref(), position);
}

#[cfg(windows)]
Expand Down
89 changes: 82 additions & 7 deletions examples/api/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa1d67a

Please sign in to comment.