Updating branch refs/heads/master
         to e49a5262732e31cdf4cba348212f099c4a620613 (commit)
       from 1930b6b1d451e823e4e3b5919453ba57f559992d (commit)

commit e49a5262732e31cdf4cba348212f099c4a620613
Author: Stephan Arts <step...@xfce.org>
Date:   Wed Oct 19 06:46:42 2011 +0200

    Decrease buffersize
    
    Some JPEG images cause the JPEG pixbufloader to fail if the buffer
    is too large. (Thanks to Michael Orlitzky <mich...@orlitzky.com>)

 src/image_viewer.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/image_viewer.c b/src/image_viewer.c
index 4a6319f..e9cca8b 100644
--- a/src/image_viewer.c
+++ b/src/image_viewer.c
@@ -30,9 +30,11 @@
 #include "settings.h"
 #include "marshal.h"
 
+/* Do not make this buffer too large,
+ * this breaks some pixbufloaders.
+ */
 #ifndef RSTTO_IMAGE_VIEWER_BUFFER_SIZE
-/* #define RSTTO_IMAGE_VIEWER_BUFFER_SIZE 1024 */
-#define RSTTO_IMAGE_VIEWER_BUFFER_SIZE 131072
+#define RSTTO_IMAGE_VIEWER_BUFFER_SIZE 4096
 #endif
 
 #ifndef RSTTO_MAX_SCALE
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to