Fix browsing the "resource" GVfs schema
This commit is contained in:
parent
d889acc315
commit
0a6b06d1d0
|
@ -383,6 +383,10 @@ entry_add_thumbnail(gpointer data, gpointer user_data)
|
||||||
self->icon = g_object_ref(icon);
|
self->icon = g_object_ref(icon);
|
||||||
g_object_unref(info);
|
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:
|
out:
|
||||||
g_object_unref(file);
|
g_object_unref(file);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue