summaryrefslogtreecommitdiff
path: root/libmate-desktop
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop')
-rw-r--r--libmate-desktop/mate-desktop-thumbnail.c20
-rw-r--r--libmate-desktop/mate-desktop-thumbnail.h1
-rw-r--r--libmate-desktop/mate-desktop.abi1
3 files changed, 0 insertions, 22 deletions
diff --git a/libmate-desktop/mate-desktop-thumbnail.c b/libmate-desktop/mate-desktop-thumbnail.c
index 623ba3a..ae56366 100644
--- a/libmate-desktop/mate-desktop-thumbnail.c
+++ b/libmate-desktop/mate-desktop-thumbnail.c
@@ -1276,26 +1276,6 @@ mate_desktop_thumbnail_factory_create_failed_thumbnail (MateDesktopThumbnailFact
}
/**
- * mate_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 *
-mate_desktop_thumbnail_md5 (const char *uri)
-{
- return g_compute_checksum_for_data (G_CHECKSUM_MD5,
- (const guchar *) uri,
- strlen (uri));
-}
-
-/**
* mate_desktop_thumbnail_path_for_uri:
* @uri: an uri
* @size: a thumbnail size
diff --git a/libmate-desktop/mate-desktop-thumbnail.h b/libmate-desktop/mate-desktop-thumbnail.h
index de53611..1bb9492 100644
--- a/libmate-desktop/mate-desktop-thumbnail.h
+++ b/libmate-desktop/mate-desktop-thumbnail.h
@@ -94,7 +94,6 @@ gboolean mate_desktop_thumbnail_has_uri (GdkPixbuf *pixbuf,
gboolean mate_desktop_thumbnail_is_valid (GdkPixbuf *pixbuf,
const char *uri,
time_t mtime);
-char * mate_desktop_thumbnail_md5 (const char *uri);
char * mate_desktop_thumbnail_path_for_uri (const char *uri,
MateDesktopThumbnailSize size);
diff --git a/libmate-desktop/mate-desktop.abi b/libmate-desktop/mate-desktop.abi
index de3b4dd..7b57994 100644
--- a/libmate-desktop/mate-desktop.abi
+++ b/libmate-desktop/mate-desktop.abi
@@ -129,7 +129,6 @@ mate_desktop_thumbnail_factory_new
mate_desktop_thumbnail_factory_save_thumbnail
mate_desktop_thumbnail_has_uri
mate_desktop_thumbnail_is_valid
-mate_desktop_thumbnail_md5
mate_desktop_thumbnail_path_for_uri
mate_gdk_spawn_command_line_on_screen
mate_get_all_locales