[gnome-photos] thumbnailer: Log the dimensions to which the thumbnail is scaled



commit 51df9421ad4f83eadeb3a71f35bd6804b83fd29f
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 |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-thumbnailer.c b/src/photos-thumbnailer.c
index 94dd606..bc656cf 100644
--- a/src/photos-thumbnailer.c
+++ b/src/photos-thumbnailer.c
@@ -297,6 +297,11 @@ photos_thumbnailer_generate_thumbnail_process (GObject *source_object, GAsyncRes
     {
       GdkPixbuf *pixbuf_scaled = NULL;
 
+      photos_debug (PHOTOS_DEBUG_THUMBNAILER,
+                    "Scaling thumbnail to %d×%d",
+                    pixbuf_zoomed_width,
+                    pixbuf_zoomed_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]