summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-thumbnail-pixbuf-utils.c
diff options
context:
space:
mode:
authorBastien Nocera <[email protected]>2016-06-26 12:18:28 +0200
committerraveit65 <[email protected]>2020-01-09 00:06:04 +0100
commite9884b43e1643d1e751a5cb03f653fcd00e585e4 (patch)
treed3677ad6112e89ecc87adb47ce80540fe7543423 /libmate-desktop/mate-thumbnail-pixbuf-utils.c
parent298af2236e8f23064f00b03bedc7780a6456a5bf (diff)
downloadmate-desktop-e9884b43e1643d1e751a5cb03f653fcd00e585e4.tar.bz2
mate-desktop-e9884b43e1643d1e751a5cb03f653fcd00e585e4.tar.xz
thumbnail: Always use external gdk-pixbuf thumbnailer
Instead of special-casing gdk-pixbuf-supported image formats, use an external thumbnailer. This will give us the ability to: - cancel running thumbnail operations - avoid memory leaks, buffer overflows, double-frees, etc. in the image loaders having an impact on the application - limit resource usage when thumbnailing https://bugzilla.gnome.org/show_bug.cgi?id=768064 origin commit: https://gitlab.gnome.org/GNOME/gnome-desktop/commit/b69fde6 https://gitlab.gnome.org/GNOME/gnome-desktop/commit/dba6d95
Diffstat (limited to 'libmate-desktop/mate-thumbnail-pixbuf-utils.c')
-rw-r--r--libmate-desktop/mate-thumbnail-pixbuf-utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libmate-desktop/mate-thumbnail-pixbuf-utils.c b/libmate-desktop/mate-thumbnail-pixbuf-utils.c
index 17f2280..d005913 100644
--- a/libmate-desktop/mate-thumbnail-pixbuf-utils.c
+++ b/libmate-desktop/mate-thumbnail-pixbuf-utils.c
@@ -32,8 +32,6 @@
#define MATE_DESKTOP_USE_UNSTABLE_API
#include "mate-desktop-thumbnail.h"
-#define LOAD_BUFFER_SIZE 65536
-
/**
* mate_desktop_thumbnail_scale_down_pixbuf:
* @pixbuf: a #GdkPixbuf