diff src/thumb_standard.c @ 1011:616b14da08c2

do not access image_loader directly
author nadvornik
date Fri, 29 Aug 2008 12:35:13 +0000
parents dd311dae857a
children fe82830ab8fd
line wrap: on
line diff
--- a/src/thumb_standard.c	Fri Aug 29 09:59:20 2008 +0000
+++ b/src/thumb_standard.c	Fri Aug 29 12:35:13 2008 +0000
@@ -543,7 +543,7 @@
 	GdkPixbuf *pixbuf;
 
 	DEBUG_1("thumb image done: %s", tl->fd ? tl->fd->path : "???");
-	DEBUG_1("            from: %s", tl->il->path);
+	DEBUG_1("            from: %s", image_loader_get_fd(tl->il)->path);
 
 	pixbuf = image_loader_get_pixbuf(tl->il);
 	if (!pixbuf)
@@ -566,7 +566,7 @@
 	if (tl->fd)
 		{
 		if (tl->fd->thumb_pixbuf) g_object_unref(tl->fd->thumb_pixbuf);
-		tl->fd->thumb_pixbuf = thumb_loader_std_finish(tl, pixbuf, il->shrunk);
+		tl->fd->thumb_pixbuf = thumb_loader_std_finish(tl, pixbuf, image_loader_get_shrunk(il));
 		}
 
 	if (tl->func_done) tl->func_done(tl, tl->data);
@@ -584,7 +584,7 @@
 		}
 	
 	DEBUG_1("thumb image error: %s", tl->fd->path);
-	DEBUG_1("             from: %s", tl->il->fd->path);
+	DEBUG_1("             from: %s", image_loader_get_fd(tl->il)->path);
 
 	if (thumb_loader_std_next_source(tl, TRUE)) return;