[nautilus] Remove useless function



commit b02ef0a7ec2d0de3064d322f5da103a8dfd492d3
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Apr 22 10:46:39 2009 +0200

    Remove useless function
    
    Remove nautilus_has_valid_failed_thumbnail(), as that's not used
    anymore after the last commit.
---
 libnautilus-private/nautilus-thumbnails.c |   16 ----------------
 libnautilus-private/nautilus-thumbnails.h |    1 -
 2 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/libnautilus-private/nautilus-thumbnails.c b/libnautilus-private/nautilus-thumbnails.c
index 75be343..53b7525 100644
--- a/libnautilus-private/nautilus-thumbnails.c
+++ b/libnautilus-private/nautilus-thumbnails.c
@@ -802,22 +802,6 @@ nautilus_can_thumbnail (NautilusFile *file)
 	return res;
 }
 
-gboolean
-nautilus_has_valid_failed_thumbnail (NautilusFile *file)
-{
-	GnomeDesktopThumbnailFactory *factory;
-	char *uri;
-	gboolean res;
-
-	factory = get_thumbnail_factory ();
-
-	uri = nautilus_file_get_uri (file);
-	res = gnome_desktop_thumbnail_factory_has_valid_failed_thumbnail (factory, uri, file->details->mtime);
-	g_free (uri);
-
-	return res;
-}
-
 void
 nautilus_create_thumbnail (NautilusFile *file)
 {
diff --git a/libnautilus-private/nautilus-thumbnails.h b/libnautilus-private/nautilus-thumbnails.h
index 82007ba..bfe0724 100644
--- a/libnautilus-private/nautilus-thumbnails.h
+++ b/libnautilus-private/nautilus-thumbnails.h
@@ -46,7 +46,6 @@ typedef void (* NautilusThumbnailAsyncLoadFunc) (NautilusThumbnailAsyncLoadHandl
 /* Returns NULL if there's no thumbnail yet. */
 void       nautilus_create_thumbnail                (NautilusFile *file);
 gboolean   nautilus_can_thumbnail                   (NautilusFile *file);
-gboolean   nautilus_has_valid_failed_thumbnail      (NautilusFile *file);
 gboolean   nautilus_thumbnail_is_mimetype_limited_by_size
 						    (const char *mime_type);
 void       nautilus_thumbnail_frame_image           (GdkPixbuf **pixbuf);



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