Mercurial > geeqie
comparison src/cache_maint.c @ 1498:5f49f305a6b6
improved debug messages
author | nadvornik |
---|---|
date | Tue, 31 Mar 2009 20:05:16 +0000 |
parents | a3d3208b0c50 |
children | 24a12aa0cb54 |
comparison
equal
deleted
inserted
replaced
1497:2c54f3f71634 | 1498:5f49f305a6b6 |
---|---|
621 | 621 |
622 void cache_notify_cb(FileData *fd, NotifyType type, gpointer data) | 622 void cache_notify_cb(FileData *fd, NotifyType type, gpointer data) |
623 { | 623 { |
624 if (!(type & NOTIFY_CHANGE) || !fd->change) return; | 624 if (!(type & NOTIFY_CHANGE) || !fd->change) return; |
625 | 625 |
626 DEBUG_1("Notify cache_maint: %s %04x", fd->path, type); | |
626 switch (fd->change->type) | 627 switch (fd->change->type) |
627 { | 628 { |
628 case FILEDATA_CHANGE_MOVE: | 629 case FILEDATA_CHANGE_MOVE: |
629 case FILEDATA_CHANGE_RENAME: | 630 case FILEDATA_CHANGE_RENAME: |
630 cache_maint_moved(fd); | 631 cache_maint_moved(fd); |