[Kazehakase-cvs] CVS update: kazehakase/src

Zurück zum Archiv-Index

Ryo SHIMIZU furyo****@users*****
Tue Oct 17 23:28:48 JST 2006


Index: kazehakase/src/main.c
diff -u kazehakase/src/main.c:1.114 kazehakase/src/main.c:1.115
--- kazehakase/src/main.c:1.114	Wed Aug 30 20:41:27 2006
+++ kazehakase/src/main.c	Tue Oct 17 23:28:48 2006
@@ -514,13 +514,14 @@
 	KZ_CONF_GET("History", "limit_cache", limit, BOOL);
 	if (limit)
 	{
-		gchar *history_dir, *image_dir;
+		gchar *history_timestamp, *image_dir;
 		limit_seconds = limit_days * 86400;
-		history_dir = g_strconcat(g_get_home_dir(),
+		history_timestamp = g_strconcat(g_get_home_dir(),
 					  HISTORY_DIR,
+					  "timestamp",
 					  NULL);
-		purge_history_file(history_dir, limit_seconds);
-		g_free(history_dir);
+		purge_history_file_by_timestamp(history_timestamp, limit_seconds);
+		g_free(history_timestamp);
 
 		/* parge popup files */
 		image_dir = g_strconcat(g_get_home_dir(),


More information about the Kazehakase-cvs mailing list
Zurück zum Archiv-Index