diff --git a/src/main.rs b/src/main.rs index f0ec8bf..5bb5466 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,7 +62,7 @@ fn icon() -> Result, Box> { #[cfg(windows)] fn icon() -> Result, Box> { - IconData::try_from_png_bytes(include_bytes!("../build/windows/icon-256x256.png")) + eframe::icon_data::from_png_bytes(include_bytes!("../build/windows/icon-256x256.png")) .map(Some) .map_err(Into::into) }