summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/reference/mate-desktop/mate-desktop-sections.txt1
-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
4 files changed, 0 insertions, 23 deletions
diff --git a/docs/reference/mate-desktop/mate-desktop-sections.txt b/docs/reference/mate-desktop/mate-desktop-sections.txt
index 488ec5f..7145307 100644
--- a/docs/reference/mate-desktop/mate-desktop-sections.txt
+++ b/docs/reference/mate-desktop/mate-desktop-sections.txt
@@ -238,7 +238,6 @@ mate_desktop_item_error_quark
<TITLE>Miscellaneous Thumbnail Functions</TITLE>
mate_desktop_thumbnail_has_uri
mate_desktop_thumbnail_is_valid
-mate_desktop_thumbnail_md5
mate_desktop_thumbnail_path_for_uri
</SECTION>
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