Mercurial > geeqie.yaz
diff src/view_file_list.c @ 838:9bd49e725ad3
use FileData in thumb_loader
author | nadvornik |
---|---|
date | Sun, 15 Jun 2008 20:09:15 +0000 |
parents | 1014e8f72f94 |
children | add46f9c895c |
line wrap: on
line diff
--- a/src/view_file_list.c Sat Jun 14 21:49:48 2008 +0000 +++ b/src/view_file_list.c Sun Jun 15 20:09:15 2008 +0000 @@ -1008,9 +1008,6 @@ if (!fd || vflist_find_row(vf, fd, &iter) < 0) return; - if (fd->pixbuf) g_object_unref(fd->pixbuf); - fd->pixbuf = thumb_loader_get_pixbuf(tl, TRUE); - store = GTK_TREE_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(vf->listview))); gtk_tree_store_set(store, &iter, FILE_COLUMN_THUMB, fd->pixbuf, -1); @@ -1113,10 +1110,10 @@ NULL, vf); - if (!thumb_loader_start(vf->thumbs_loader, fd->path)) + if (!thumb_loader_start(vf->thumbs_loader, fd)) { /* set icon to unknown, continue */ - DEBUG_1("thumb loader start failed %s", vf->thumbs_loader->path); + DEBUG_1("thumb loader start failed %s", fd->path); vflist_thumb_do(vf, vf->thumbs_loader, fd); return TRUE;