From d6dd638f96d545f29f7bd4e2dd0abfb9d5c174cb Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 12 Jul 2017 18:19:00 +0200 Subject: 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 --- libmate-desktop/mate-desktop-thumbnail.c | 20 -------------------- libmate-desktop/mate-desktop-thumbnail.h | 1 - libmate-desktop/mate-desktop.abi | 1 - 3 files changed, 22 deletions(-) (limited to 'libmate-desktop') 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 @@ -1275,26 +1275,6 @@ mate_desktop_thumbnail_factory_create_failed_thumbnail (MateDesktopThumbnailFact g_object_unref (pixbuf); } -/** - * 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 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 -- cgit v1.2.1