[gnome-photos/wip/rishi/thumbnailer: 12/15] thumbnailer: Log the dimensions to which the thumbnail is scaled
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/thumbnailer: 12/15] thumbnailer: Log the dimensions to which the thumbnail is scaled
- Date: Wed, 22 Feb 2017 19:20:53 +0000 (UTC)
commit 765f12425e9d56e55d0f08cc97021cbe648dd9f1
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Feb 22 17:37:29 2017 +0100
thumbnailer: Log the dimensions to which the thumbnail is scaled
src/photos-thumbnailer.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-thumbnailer.c b/src/photos-thumbnailer.c
index f0090bf..3379ce1 100644
--- a/src/photos-thumbnailer.c
+++ b/src/photos-thumbnailer.c
@@ -299,6 +299,13 @@ photos_thumbnailer_generate_thumbnail_process (GObject *source_object, GAsyncRes
{
GdkPixbuf *pixbuf_scaled = NULL;
+ photos_debug (PHOTOS_DEBUG_THUMBNAILER,
+ "Scaling thumbnail to %d×%d %dx%d",
+ pixbuf_zoomed_width,
+ pixbuf_zoomed_height,
+ pixbuf_width,
+ pixbuf_height);
+
pixbuf_scaled = gdk_pixbuf_scale_simple (data->pixbuf_thumbnail,
pixbuf_zoomed_width,
pixbuf_zoomed_height,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]