Commits
Jeremy Huddleston Sequoia authored 57d0af54f38
1 + | From 573bc6e262559ea07d4482163c1684dedc01219f Mon Sep 17 00:00:00 2001 |
2 + | From: Michael Catanzaro <mcatanzaro@gnome.org> |
3 + | Date: Mon, 12 Dec 2016 20:47:50 -0600 |
4 + | Subject: [PATCH] snapshot-service: stop using |
5 + | gnome_desktop_thumbnail_scale_down_pixbuf |
6 + | |
7 + | See bugs #775991 and #80925. |
8 + | --- |
9 + | lib/ephy-snapshot-service.c | 7 ++++--- |
10 + | 1 file changed, 4 insertions(+), 3 deletions(-) |
11 + | |
12 + | diff --git lib/ephy-snapshot-service.c lib/ephy-snapshot-service.c |
13 + | index acbdb59f1..43777a592 100644 |
14 + | --- lib/ephy-snapshot-service.c |
15 + | +++ lib/ephy-snapshot-service.c |
16 + | |
17 + | } |
18 + | |
19 + | snapshot = gdk_pixbuf_get_from_surface (surface, x_offset, 0, new_width, new_height); |
20 + | - scaled = gnome_desktop_thumbnail_scale_down_pixbuf (snapshot, |
21 + | - EPHY_THUMBNAIL_WIDTH, |
22 + | - EPHY_THUMBNAIL_HEIGHT); |
23 + | + scaled = gdk_pixbuf_scale_simple (snapshot, |
24 + | + EPHY_THUMBNAIL_WIDTH, |
25 + | + EPHY_THUMBNAIL_HEIGHT, |
26 + | + GDK_INTERP_BILINEAR); |
27 + | } |
28 + | |
29 + | g_object_unref (snapshot); |
30 + | -- |
31 + | 2.16.3 |
32 + | |