summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <[email protected]>2017-07-12 18:19:00 +0200
committerraveit65 <[email protected]>2020-01-18 23:46:03 +0100
commitd6dd638f96d545f29f7bd4e2dd0abfb9d5c174cb (patch)
treeaf5bcec0d157e7cb6433d36763227c452dd5f4ce
parent8f6e3df4ce1b570a9f71ed0383427b85b4378144 (diff)
downloadmate-desktop-d6dd638f96d545f29f7bd4e2dd0abfb9d5c174cb.tar.bz2
mate-desktop-d6dd638f96d545f29f7bd4e2dd0abfb9d5c174cb.tar.xz
thumbnail: Remove obsolete mate_desktop_thumbnail_md5()
https://bugzilla.gnome.org/show_bug.cgi?id=785198 origin commit: https://gitlab.gnome.org/GNOME/gnome-desktop/commit/8663695
-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