diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/eom-thumbnail.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/eom-thumbnail.c b/src/eom-thumbnail.c index e4cc56a..6a278b3 100644 --- a/src/eom-thumbnail.c +++ b/src/eom-thumbnail.c @@ -123,9 +123,10 @@ create_thumbnail_from_pixbuf (EomThumbData *data, perc = CLAMP (128.0/(MAX (width, height)), 0, 1); - thumb = mate_desktop_thumbnail_scale_down_pixbuf (pixbuf, - width*perc, - height*perc); + thumb = gdk_pixbuf_scale_simple (pixbuf, + width*perc, + height*perc, + GDK_INTERP_HYPER); return thumb; } @@ -444,7 +445,7 @@ eom_thumbnail_fit_to_size (GdkPixbuf *thumbnail, gint dimension) width = MAX (width * factor, 1); height = MAX (height * factor, 1); - result_pixbuf = mate_desktop_thumbnail_scale_down_pixbuf (thumbnail, width, height); + result_pixbuf = gdk_pixbuf_scale_simple (thumbnail, width, height, GDK_INTERP_HYPER); return result_pixbuf; } |