[gnome-desktop] thumbnail: Remove obsolete gnome_desktop_thumbnail_md5()



commit 86636953c373643e397592052b7b37b7df85c756
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jul 12 18:19:00 2017 +0200

    thumbnail: Remove obsolete gnome_desktop_thumbnail_md5()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=785198

 libgnome-desktop/gnome-desktop-thumbnail.c |   20 --------------------
 libgnome-desktop/gnome-desktop-thumbnail.h |    1 -
 2 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/libgnome-desktop/gnome-desktop-thumbnail.c b/libgnome-desktop/gnome-desktop-thumbnail.c
index e56c3d7..65ecdbe 100644
--- a/libgnome-desktop/gnome-desktop-thumbnail.c
+++ b/libgnome-desktop/gnome-desktop-thumbnail.c
@@ -1239,26 +1239,6 @@ gnome_desktop_thumbnail_factory_create_failed_thumbnail (GnomeDesktopThumbnailFa
 }
 
 /**
- * gnome_desktop_thumbnail_md5:
- * @uri: an uri
- *
- * Calculates the MD5 checksum of the uri. This can be useful
- * if you want to manually handle thumbnail files.
- *
- * Return value: A string with the MD5 digest of the uri string.
- *
- * Since: 2.2
- * Deprecated: 2.22: Use #GChecksum instead
- **/
-char *
-gnome_desktop_thumbnail_md5 (const char *uri)
-{
-  return g_compute_checksum_for_data (G_CHECKSUM_MD5,
-                                      (const guchar *) uri,
-                                      strlen (uri));
-}
-
-/**
  * gnome_desktop_thumbnail_path_for_uri:
  * @uri: an uri
  * @size: a thumbnail size
diff --git a/libgnome-desktop/gnome-desktop-thumbnail.h b/libgnome-desktop/gnome-desktop-thumbnail.h
index 2e88204..96abb58 100644
--- a/libgnome-desktop/gnome-desktop-thumbnail.h
+++ b/libgnome-desktop/gnome-desktop-thumbnail.h
@@ -96,7 +96,6 @@ gboolean   gnome_desktop_thumbnail_has_uri           (GdkPixbuf          *pixbuf
 gboolean   gnome_desktop_thumbnail_is_valid          (GdkPixbuf          *pixbuf,
                                                      const char         *uri,
                                                      time_t              mtime);
-char *     gnome_desktop_thumbnail_md5               (const char         *uri);
 char *     gnome_desktop_thumbnail_path_for_uri      (const char         *uri,
                                                      GnomeDesktopThumbnailSize  size);
 


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