[gthumb: 70/129] g_load_file_in_buffer: use a 64K buffer



commit 1becd3355006d7a2420eab5e5e707695e0594a7f
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Apr 24 12:36:17 2011 +0200

    g_load_file_in_buffer: use a 64K buffer

 gthumb/gio-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gio-utils.c b/gthumb/gio-utils.c
index 972da94..249c21c 100644
--- a/gthumb/gio-utils.c
+++ b/gthumb/gio-utils.c
@@ -1916,7 +1916,7 @@ _g_delete_files_async (GList        *file_list,
 }
 
 
-#define BUFFER_SIZE 4096
+#define BUFFER_SIZE (64 * 1024)
 
 
 gboolean



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