[gnome-color-manager] trivial: Preserve the aspect ratio of printed targets



commit 999ec1bbeaaf33690e516d3e415b347f83c9d726
Author: Richard Hughes <richard hughsie com>
Date:   Tue Feb 23 17:57:41 2010 +0000

    trivial: Preserve the aspect ratio of printed targets

 src/gcm-print.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-print.c b/src/gcm-print.c
index dbcb50d..b7943bc 100644
--- a/src/gcm-print.c
+++ b/src/gcm-print.c
@@ -142,7 +142,7 @@ gcm_print_draw_page_cb (GtkPrintOperation *operation, GtkPrintContext *context,
 
 	/* load pixbuf, which we've already prepared */
 	filename = g_ptr_array_index (task->filenames, page_nr);
-	pixbuf = gdk_pixbuf_new_from_file_at_scale (filename, width, height, FALSE, &error);
+	pixbuf = gdk_pixbuf_new_from_file_at_scale (filename, width, height, TRUE, &error);
 	if (pixbuf == NULL) {
 		egg_warning ("failed to load image: %s", error->message);
 		g_error_free (error);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]