projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eeeeb7
)
remove cached entries on all changes
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Fri, 26 Dec 2008 18:54:07 +0000
(18:54 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Fri, 26 Dec 2008 18:54:07 +0000
(18:54 +0000)
src/filecache.c
patch
|
blob
|
history
diff --git
a/src/filecache.c
b/src/filecache.c
index
becca89
..
df522e4
100644
(file)
--- a/
src/filecache.c
+++ b/
src/filecache.c
@@
-180,7
+180,7
@@
static void file_cache_notify_cb(FileData *fd, NotifyType type, gpointer data)
{
FileCacheData *fc = data;
- if (type
== NOTIFY_TYPE_REREAD)
+ if (type
!= NOTIFY_TYPE_INTERNAL) /* invalidate the entry on each file change */
{
file_cache_remove_fd(fc, fd);
}