Fix browsing the "resource" GVfs schema

This commit is contained in:
Přemysl Eric Janouch 2022-01-05 07:45:23 +01:00
parent d889acc315
commit 0a6b06d1d0
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -383,6 +383,10 @@ entry_add_thumbnail(gpointer data, gpointer user_data)
self->icon = g_object_ref(icon);
g_object_unref(info);
}
// The GVfs backend may not be friendly.
if (!self->icon)
self->icon = g_icon_new_for_string("text-x-generic-symbolic", NULL);
out:
g_object_unref(file);
}