mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gio: return '*' content type on win32 from unknown mime
This fixes test_unknown. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
9f2660fbae
commit
b3379557af
@ -342,7 +342,8 @@ g_content_type_from_mime_type (const gchar *mime_type)
|
||||
content_type = get_registry_classes_key (key, L"Extension");
|
||||
g_free (key);
|
||||
|
||||
return content_type;
|
||||
|
||||
return content_type ? g_steal_pointer (&content_type) : g_strdup ("*");
|
||||
}
|
||||
|
||||
gchar *
|
||||
|
Loading…
Reference in New Issue
Block a user