diff src/filedata.c @ 846:8911a4f0e56c

simple cache for loaded pixbufs
author nadvornik
date Sat, 21 Jun 2008 16:00:13 +0000
parents 06929cbcd796
children db68d673448f
line wrap: on
line diff
--- a/src/filedata.c	Sat Jun 21 11:05:55 2008 +0000
+++ b/src/filedata.c	Sat Jun 21 16:00:13 2008 +0000
@@ -447,6 +447,7 @@
 FileData *file_data_ref(FileData *fd)
 {
 	if (fd == NULL) return NULL;
+	DEBUG_2("file_data_ref (%d): '%s'", fd->ref, fd->path);
 
 //	return g_memdup(fd, sizeof(FileData));
 	g_assert(fd->magick == 0x12345678);