app: GimpViewRendererImagefile: don't call g_file_query_info ("standard::icon")
This is a quick fix because the call can block and needs to be ported to the async API. I simply disabled the entire block that gets the icon from GIO.
This commit is contained in:
@ -164,6 +164,7 @@ gimp_view_renderer_imagefile_get_icon (GimpImagefile *imagefile,
|
||||
if (! gimp_object_get_name (imagefile))
|
||||
return NULL;
|
||||
|
||||
#if 0
|
||||
if (! pixbuf)
|
||||
{
|
||||
GFile *file;
|
||||
@ -198,6 +199,7 @@ gimp_view_renderer_imagefile_get_icon (GimpImagefile *imagefile,
|
||||
|
||||
g_object_unref (file);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (! pixbuf && thumbnail->image_mimetype)
|
||||
{
|
||||
|
Reference in New Issue
Block a user