[epiphany] snapshot-service: stop using gnome_desktop_thumbnail_scale_down_pixbuf
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] snapshot-service: stop using gnome_desktop_thumbnail_scale_down_pixbuf
- Date: Tue, 13 Dec 2016 02:49:59 +0000 (UTC)
commit 573bc6e262559ea07d4482163c1684dedc01219f
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Dec 12 20:47:50 2016 -0600
snapshot-service: stop using gnome_desktop_thumbnail_scale_down_pixbuf
See bugs #775991 and #80925.
lib/ephy-snapshot-service.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/lib/ephy-snapshot-service.c b/lib/ephy-snapshot-service.c
index acbdb59..43777a5 100644
--- a/lib/ephy-snapshot-service.c
+++ b/lib/ephy-snapshot-service.c
@@ -135,9 +135,10 @@ ephy_snapshot_service_prepare_snapshot (cairo_surface_t *surface,
}
snapshot = gdk_pixbuf_get_from_surface (surface, x_offset, 0, new_width, new_height);
- scaled = gnome_desktop_thumbnail_scale_down_pixbuf (snapshot,
- EPHY_THUMBNAIL_WIDTH,
- EPHY_THUMBNAIL_HEIGHT);
+ scaled = gdk_pixbuf_scale_simple (snapshot,
+ EPHY_THUMBNAIL_WIDTH,
+ EPHY_THUMBNAIL_HEIGHT,
+ GDK_INTERP_BILINEAR);
}
g_object_unref (snapshot);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]