Commit 20f4389f authored by Matthias Clasen's avatar Matthias Clasen Committed by Cosimo Cecchi

Avoid duplicate function call

Don't call nautilus_has_valid_failed_thumbnail, as
nautilus_can_thumbnail will eventually call the same gnome_desktop
function (#574205).
Signed-off-by: Cosimo Cecchi's avatarCosimo Cecchi <>
parent 3ffebcdb
......@@ -3600,8 +3600,7 @@ nautilus_file_get_icon (NautilusFile *file,
} else if (file->details->thumbnail_path == NULL &&
file->details->can_read &&
!file->details->is_thumbnailing &&
(!file->details->thumbnailing_failed ||
!nautilus_has_valid_failed_thumbnail (file))) {
!file->details->thumbnailing_failed) {
if (nautilus_can_thumbnail (file)) {
nautilus_create_thumbnail (file);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment