[PATCH] remove verbose thumbnailing output for small images



This trivial patch fix the bug:
http://bugzilla.gnome.org/show_bug.cgi?id=141078

"When Nautilus is thumbnailing the images in a directory, the following
output is on stdout:

to small (16x16, scaling up
to small (16x16, scaling up"


Cheers,

Sebastien Bacher
--- libnautilus-private/nautilus-icon-container.c.orig	2004-06-17 00:04:54.000000000 +0200
+++ libnautilus-private/nautilus-icon-container.c	2004-06-17 00:05:19.000000000 +0200
@@ -4964,7 +4964,6 @@
 	width = gdk_pixbuf_get_width (pixbuf);
 	height = gdk_pixbuf_get_height (pixbuf);
 	if (width < min_image_size && height < min_image_size) {
-		g_print ("to small (%dx%d, scaling up\n", width, height);
 		scale_factor = MAX (min_image_size  / (double) width, min_image_size / (double) height);
 		/* don't let it exceed the maximum width in the other dimension */
 		scale_factor = MIN (scale_factor, max_image_size / width);


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