Mercurial > geeqie
comparison src/thumb.c @ 1498:5f49f305a6b6
improved debug messages
author | nadvornik |
---|---|
date | Tue, 31 Mar 2009 20:05:16 +0000 |
parents | a6f9ba6fd751 |
children | 68b73d524ca3 |
comparison
equal
deleted
inserted
replaced
1497:2c54f3f71634 | 1498:5f49f305a6b6 |
---|---|
534 /* release thumb_pixbuf on file change - this forces reload. */ | 534 /* release thumb_pixbuf on file change - this forces reload. */ |
535 void thumb_notify_cb(FileData *fd, NotifyType type, gpointer data) | 535 void thumb_notify_cb(FileData *fd, NotifyType type, gpointer data) |
536 { | 536 { |
537 if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE)) && fd->thumb_pixbuf) | 537 if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE)) && fd->thumb_pixbuf) |
538 { | 538 { |
539 DEBUG_1("Notify thumb: %s %04x", fd->path, type); | |
539 g_object_unref(fd->thumb_pixbuf); | 540 g_object_unref(fd->thumb_pixbuf); |
540 fd->thumb_pixbuf = NULL; | 541 fd->thumb_pixbuf = NULL; |
541 } | 542 } |
542 } | 543 } |
543 | 544 |