Mercurial > geeqie
comparison src/filecache.c @ 891:841b387dd877
fixed test for changed files in cache
author | nadvornik |
---|---|
date | Fri, 18 Jul 2008 21:20:49 +0000 |
parents | d8e1e820cee7 |
children | 649c848333ee |
comparison
equal
deleted
inserted
replaced
890:bc9df0fecdc1 | 891:841b387dd877 |
---|---|
64 /* move it to the beginning */ | 64 /* move it to the beginning */ |
65 DEBUG_1("cache move to front: fc=%p %s", fc, fd->path); | 65 DEBUG_1("cache move to front: fc=%p %s", fc, fd->path); |
66 fc->list = g_list_remove_link(fc->list, work); | 66 fc->list = g_list_remove_link(fc->list, work); |
67 fc->list = g_list_concat(work, fc->list); | 67 fc->list = g_list_concat(work, fc->list); |
68 | 68 |
69 // if (file_data_check_changed_files(fd)) /* this will eventually remove changed files from cache via file_cache_notify_cb */ | 69 if (file_data_check_changed_files(fd)) /* this will eventually remove changed files from cache via file_cache_notify_cb */ |
70 // return FALSE; | 70 return FALSE; |
71 | 71 |
72 if (debug_file_cache) file_cache_dump(fc); | 72 if (debug_file_cache) file_cache_dump(fc); |
73 return TRUE; | 73 return TRUE; |
74 } | 74 } |
75 work = work->next; | 75 work = work->next; |