summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-desktop-thumbnail.h
diff options
context:
space:
mode:
authorBastien Nocera <[email protected]>2017-01-06 17:36:20 +0100
committerraveit65 <[email protected]>2020-01-09 00:06:04 +0100
commit2bce55bfb71a354402499b497f42d0fe6851350b (patch)
tree32b9448364c50cd8e8f27eb503b83392e70c9f77 /libmate-desktop/mate-desktop-thumbnail.h
parent12ffc111c5b9b9c595650a944b5da99453918dbb (diff)
downloadmate-desktop-2bce55bfb71a354402499b497f42d0fe6851350b.tar.bz2
mate-desktop-2bce55bfb71a354402499b497f42d0fe6851350b.tar.xz
Deprecate mate_desktop_thumbnail_scale_down_pixbuf()
As scaling down by huge factors is now fixed in gdk-pixbuf. Require the newer gdk-pixbuf as well, to avoid running into a pre-fix version. https://bugzilla.gnome.org/show_bug.cgi?id=775991 origin commit: https://gitlab.gnome.org/GNOME/gnome-desktop/commit/cb64228
Diffstat (limited to 'libmate-desktop/mate-desktop-thumbnail.h')
-rw-r--r--libmate-desktop/mate-desktop-thumbnail.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libmate-desktop/mate-desktop-thumbnail.h b/libmate-desktop/mate-desktop-thumbnail.h
index 1decb4a..9f26dab 100644
--- a/libmate-desktop/mate-desktop-thumbnail.h
+++ b/libmate-desktop/mate-desktop-thumbnail.h
@@ -101,6 +101,13 @@ char * mate_desktop_thumbnail_path_for_uri (const char *uri,
/* Pixbuf utils */
+#ifndef __GTK_DOC_IGNORE__
+#define MATE_DESKTOP_DEPRECATED_IN_1_24_FOR(f) G_DEPRECATED_FOR(f) extern
+#else
+#define MATE_DESKTOP_DEPRECATED_IN_1_24_FOR(f) extern
+#endif
+
+MATE_DESKTOP_DEPRECATED_IN_1_24_FOR(gdk_pixbuf_scale_simple)
GdkPixbuf *mate_desktop_thumbnail_scale_down_pixbuf (GdkPixbuf *pixbuf,
int dest_width,
int dest_height);