|
@@ -205,7 +205,7 @@ impl<R: Runtime> IconMenuItem<R> {
|
|
|
/// ## Platform-specific:
|
|
|
///
|
|
|
/// - **Windows / Linux**: Unsupported.
|
|
|
- pub fn set_native_icon(&mut self, _icon: Option<NativeIcon>) -> crate::Result<()> {
|
|
|
+ pub fn set_native_icon(&self, _icon: Option<NativeIcon>) -> crate::Result<()> {
|
|
|
#[cfg(target_os = "macos")]
|
|
|
return run_main_thread!(self, |self_: Self| self_
|
|
|
.inner
|