Skip to content

Commit

Permalink
added unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
arshavirmirzakhani committed Jan 9, 2025
1 parent a28c2a2 commit 6c63f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/native/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ impl MacosDisplay {
SetWindowPosition { .. } => {
eprintln!("Not implemented for macos");
}
SetWindowIcon {new_icon} => set_icon(self.window, &new_icon),
SetWindowIcon {new_icon} => unsafe { set_icon(self.window, &new_icon) },
_ => {}
}
}
Expand Down

0 comments on commit 6c63f17

Please sign in to comment.