[nautilus] Avoid duplicate function call



commit 20f4389f7cd22bd001ebf17c0c3c459cca5483ad
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Apr 22 10:44:29 2009 +0200

    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 <cosimoc gnome org>
---
 libnautilus-private/nautilus-file.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c
index fb6d92b..5cd097c 100644
--- a/libnautilus-private/nautilus-file.c
+++ b/libnautilus-private/nautilus-file.c
@@ -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);
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]