Merge branch 'backport-4373-macos-ico-fix-glib-2-82' into 'glib-2-82'

Backport !4373 “macos: Remove extraous space from type identifier” to glib-2-82

See merge request GNOME/glib!4381
This commit is contained in:
Michael Catanzaro 2024-11-04 17:58:10 +00:00
commit de7779fbd3

View File

@ -400,7 +400,7 @@ g_content_type_from_mime_type_impl (const gchar *mime_type)
if (g_str_has_suffix (mime_type, "x-tga"))
return g_strdup ("com.truevision.tga-image");
if (g_str_has_suffix (mime_type, "x-ico"))
return g_strdup ("com.microsoft.ico ");
return g_strdup ("com.microsoft.ico");
}
/* These are also not supported...