From dfef98deabefb15128b909fd9563bda0795b961d Mon Sep 17 00:00:00 2001 From: arshavir mirzakhani Date: Thu, 9 Jan 2025 14:48:23 +0330 Subject: [PATCH] changed argument name --- src/native/macos.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/native/macos.rs b/src/native/macos.rs index 434d221b..c84f82f2 100644 --- a/src/native/macos.rs +++ b/src/native/macos.rs @@ -204,7 +204,7 @@ impl MacosDisplay { SetWindowPosition { .. } => { eprintln!("Not implemented for macos"); } - SetWindowIcon {new_icon} => self.set_icon(self.ns_app, new_icon), + SetWindowIcon {new_icon} => self.set_icon(self.window, new_icon), _ => {} } }