Mercurial > geeqie
changeset 710:a1e8c78a03ab
Disable unused code:
- cache_maintain_home_dir()
- cache_maintain_dir()
author | zas_ |
---|---|
date | Wed, 21 May 2008 00:01:03 +0000 |
parents | f4fc939d327b |
children | d86748a2650a |
files | src/cache_maint.c src/cache_maint.h |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cache_maint.c Tue May 20 23:41:13 2008 +0000 +++ b/src/cache_maint.c Wed May 21 00:01:03 2008 +0000 @@ -349,6 +349,7 @@ cm->idle_id = g_idle_add(cache_maintain_home_cb, cm); } +#if 0 /* This checks all files in ~/GQ_RC_DIR/thumbnails and * removes them if thay have no source counterpart. * (this assumes all cache files have an extension of 4 chars including '.') @@ -494,6 +495,7 @@ return still_have_a_file; } +#endif static void cache_file_move(const gchar *src, const gchar *dest) {
--- a/src/cache_maint.h Tue May 20 23:41:13 2008 +0000 +++ b/src/cache_maint.h Wed May 21 00:01:03 2008 +0000 @@ -17,8 +17,10 @@ void cache_maintain_home(gint metadata, gint clear, GtkWidget *parent); +#if 0 gint cache_maintain_home_dir(const gchar *dir, gint recursive, gint clear); gint cache_maintain_dir(const gchar *dir, gint recursive, gint clear); +#endif void cache_maint_moved(FileData *fd); void cache_maint_removed(FileData *fd);