summaryrefslogtreecommitdiffstats
path: root/src/ithumb-writer.c
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2008-07-05 16:37:41 +0000
committerChristophe Fergeau <teuf@gnome.org>2008-07-05 16:37:41 +0000
commit63f8318eb5b4bcdda5701cf802642e2586f4c8cc (patch)
tree1751f76b837f9161b9d0abf2ba2827b7ea9468b3 /src/ithumb-writer.c
parent4269ac28566229156d05d8efe5f97e66b113bcf1 (diff)
downloadlibgpod-tmz-63f8318eb5b4bcdda5701cf802642e2586f4c8cc.tar.gz
libgpod-tmz-63f8318eb5b4bcdda5701cf802642e2586f4c8cc.tar.xz
libgpod-tmz-63f8318eb5b4bcdda5701cf802642e2586f4c8cc.zip
Fix bug in thumbnail rearranging code
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2034 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/ithumb-writer.c')
-rw-r--r--src/ithumb-writer.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}