[gthumb] Removed some cache-related cruft, unused variables



commit 1ef82f1acd65e10825cf0f39b6d554b02ea2ee66
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date:   Tue May 19 16:33:51 2009 -0400

    Removed some cache-related cruft, unused variables
---
 libgthumb/file-utils.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/libgthumb/file-utils.c b/libgthumb/file-utils.c
index 8ef990e..686a203 100644
--- a/libgthumb/file-utils.c
+++ b/libgthumb/file-utils.c
@@ -2139,11 +2139,6 @@ get_cache_full_path (const char *filename,
 }
 
 
-#define MAX_CACHE_SIZE (256 * 1024 * 1024)
-static GnomeVFSFileSize  cache_used_space = 0;
-static GList            *cache_files = NULL;
-
-
 void
 free_cache (void)
 {
@@ -2165,10 +2160,6 @@ free_cache (void)
 
 	g_object_unref (cache_gfile);
 	file_data_list_free (files);
-	file_data_list_free (cache_files);
-
-	cache_files = NULL;
-	cache_used_space = 0;
 }
 
 



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