Skip to content

Commit

Permalink
fix: fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Aug 3, 2023
1 parent 7ca4b11 commit dc8e9d4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/tao.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ fn main() {
#[cfg(target_os = "macos")]
{
menu_bar.init_for_nsapp();
window_m.set_windows_menu_for_nsapp();
window_m.set_as_windows_menu_for_nsapp();
}

let menu_channel = MenuEvent::receiver();
Expand Down
2 changes: 1 addition & 1 deletion examples/windows-common-controls-v6/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ fn main() {
#[cfg(target_os = "macos")]
{
menu_bar.init_for_nsapp();
window_m.set_windows_menu_for_nsapp();
window_m.set_as_windows_menu_for_nsapp();
}

let menu_channel = MenuEvent::receiver();
Expand Down
2 changes: 1 addition & 1 deletion examples/winit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ fn main() {
#[cfg(target_os = "macos")]
{
menu_bar.init_for_nsapp();
window_m.set_windows_menu_for_nsapp();
window_m.set_as_windows_menu_for_nsapp();
}

let menu_channel = MenuEvent::receiver();
Expand Down
2 changes: 1 addition & 1 deletion examples/wry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ fn main() -> wry::Result<()> {
#[cfg(target_os = "macos")]
{
menu_bar.init_for_nsapp();
window_m.set_windows_menu_for_nsapp();
window_m.set_as_windows_menu_for_nsapp();
}

#[cfg(windows)]
Expand Down

0 comments on commit dc8e9d4

Please sign in to comment.