Mercurial > geeqie
diff src/image-load.c @ 442:4b2d7f9af171
Big whitespaces cleanup:
- drop whitespaces at end of lines
- convert eight spaces to tab at start of lines
- drop spurious spaces mixed with tabs
- remove empty lines at end of files
author | zas_ |
---|---|
date | Sun, 20 Apr 2008 13:04:57 +0000 |
parents | 9e521adbf312 |
children | ddabc4873a3f |
line wrap: on
line diff
--- a/src/image-load.c Sun Apr 20 10:05:27 2008 +0000 +++ b/src/image-load.c Sun Apr 20 13:04:57 2008 +0000 @@ -84,7 +84,7 @@ n++; } g_strfreev(mime_types); - + if (!scale) return; if (width > il->requested_width || height > il->requested_height) @@ -103,7 +103,7 @@ nw = (gdouble)nh / height * width; if (nw < 1) nw = 1; } - + gdk_pixbuf_loader_set_size(loader, nw, nh); il->shrunk = TRUE; } @@ -214,7 +214,7 @@ unsigned int offset = 0; if (!il->loader || il->pixbuf) return FALSE; - + b = read(il->load_fd, il->read_buffer, il->read_buffer_size); if (b > 0 && @@ -294,7 +294,7 @@ il->loader = gdk_pixbuf_loader_new(); g_signal_connect(G_OBJECT(il->loader), "area_updated", - G_CALLBACK(image_loader_area_cb), il); + G_CALLBACK(image_loader_area_cb), il); g_signal_connect(G_OBJECT(il->loader), "size_prepared", G_CALLBACK(image_loader_size_cb), il);