Commit b02ef0a7 authored by Cosimo Cecchi's avatar Cosimo Cecchi

Remove useless function

Remove nautilus_has_valid_failed_thumbnail(), as that's not used
anymore after the last commit.
parent 20f4389f
......@@ -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)
{
......
......@@ -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);
......
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