From 63f8318eb5b4bcdda5701cf802642e2586f4c8cc Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Sat, 5 Jul 2008 16:37:41 +0000 Subject: Fix bug in thumbnail rearranging code git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2034 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- src/ithumb-writer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ithumb-writer.c b/src/ithumb-writer.c index d3d94d4..1f57b93 100644 --- a/src/ithumb-writer.c +++ b/src/ithumb-writer.c @@ -1428,7 +1428,7 @@ ithmb_rearrange_existing_thumbnails (Itdb_DB *db, if (filename) { thumbs = g_hash_table_lookup (filenamehash, filename); - thumbs = g_list_append (thumbs, thumb); + thumbs = g_list_append (thumbs, item); g_hash_table_insert (filenamehash, filename, thumbs); } } @@ -1453,7 +1453,7 @@ ithmb_rearrange_existing_thumbnails (Itdb_DB *db, if (filename) { thumbs = g_hash_table_lookup (filenamehash, filename); - thumbs = g_list_append (thumbs, thumb); + thumbs = g_list_append (thumbs, item); g_hash_table_insert (filenamehash, filename, thumbs); } } -- cgit