diff src/thumb_standard.c @ 138:71e1ebee420e

replaced gchar* path with FileData *fd
author nadvornik
date Tue, 11 Sep 2007 20:06:29 +0000
parents 528e3432e0c0
children f6e307c7bad6
line wrap: on
line diff
--- a/src/thumb_standard.c	Thu Aug 23 20:45:59 2007 +0000
+++ b/src/thumb_standard.c	Tue Sep 11 20:06:29 2007 +0000
@@ -542,7 +542,7 @@
 	if (debug)
 		{
 		printf("thumb image done: %s\n", tl->source_path);
-		printf("            from: %s\n", tl->il->path);
+		printf("            from: %s\n", tl->il->fd->path);
 		}
 
 	pixbuf = image_loader_get_pixbuf(tl->il);
@@ -582,7 +582,7 @@
 	if (debug)
 		{
 		printf("thumb image error: %s\n", tl->source_path);
-		printf("             from: %s\n", tl->il->path);
+		printf("             from: %s\n", tl->il->fd->path);
 		}
 
 	if (thumb_loader_std_next_source(tl, TRUE)) return;
@@ -601,7 +601,7 @@
 
 static gint thumb_loader_std_setup(ThumbLoaderStd *tl, const gchar *path)
 {
-	tl->il = image_loader_new(path);
+	tl->il = image_loader_new_from_path(path);
 
 	if (thumbnail_fast)
 		{