Update Earthfile to hopefully get cross-compilation for rust to work

This commit is contained in:
Patrick Pacher
2024-03-26 15:38:47 +01:00
parent d524bce166
commit 458336006f
7 changed files with 152 additions and 242 deletions

View File

@@ -404,7 +404,7 @@ fn get_icon_as_png_dataurl(name: &str, size: i8) -> Result<(String, String)> {
let icon_info = gtk_icon_theme_lookup_icon(
GTK_DEFAULT_THEME.unwrap(),
c_str.as_ptr() as *const i8,
c_str.as_ptr() as *const u8,
size as c_int,
0,
);