summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-desktop-thumbnail.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop/mate-desktop-thumbnail.c')
-rw-r--r--libmate-desktop/mate-desktop-thumbnail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-desktop/mate-desktop-thumbnail.c b/libmate-desktop/mate-desktop-thumbnail.c
index 4ef0b52..2d718e7 100644
--- a/libmate-desktop/mate-desktop-thumbnail.c
+++ b/libmate-desktop/mate-desktop-thumbnail.c
@@ -1074,7 +1074,7 @@ mate_desktop_thumbnail_factory_can_thumbnail (MateDesktopThumbnailFactory *facto
}
g_mutex_unlock (&factory->priv->lock);
- if (have_script || mimetype_supported_by_gdk_pixbuf (mime_type))
+ if (uri && (have_script || mimetype_supported_by_gdk_pixbuf (mime_type)))
{
return !mate_desktop_thumbnail_factory_has_valid_failed_thumbnail (factory,
uri,