diff src/filedata.c @ 845:06929cbcd796

renamed fd->pixbuf to fd->thumb_pixbuf
author nadvornik
date Sat, 21 Jun 2008 11:05:55 +0000
parents 8620e6934cfb
children 8911a4f0e56c
line wrap: on
line diff
--- a/src/filedata.c	Wed Jun 18 22:26:52 2008 +0000
+++ b/src/filedata.c	Sat Jun 21 11:05:55 2008 +0000
@@ -230,8 +230,8 @@
 		{
 		fd->size = st->st_size;
 		fd->date = st->st_mtime;
-		if (fd->pixbuf) g_object_unref(fd->pixbuf);
-		fd->pixbuf = NULL;
+		if (fd->thumb_pixbuf) g_object_unref(fd->thumb_pixbuf);
+		fd->thumb_pixbuf = NULL;
 		file_data_increment_version(fd);
 		file_data_send_notification(fd, NOTIFY_TYPE_REREAD);
 		ret = TRUE;
@@ -330,7 +330,7 @@
 
 	fd->size = st->st_size;
 	fd->date = st->st_mtime;
-	fd->pixbuf = NULL;
+	fd->thumb_pixbuf = NULL;
 	fd->sidecar_files = NULL;
 	fd->ref = 1;
 	fd->magick = 0x12345678;
@@ -465,7 +465,7 @@
 	g_free(fd->original_path);
 	g_free(fd->collate_key_name);
 	g_free(fd->collate_key_name_nocase);
-	if (fd->pixbuf) g_object_unref(fd->pixbuf);
+	if (fd->thumb_pixbuf) g_object_unref(fd->thumb_pixbuf);
 
 	g_assert(fd->sidecar_files == NULL); /* sidecar files must be freed before calling this */