diff options
Diffstat (limited to 'tests/test-covers.c')
-rw-r--r-- | tests/test-covers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-covers.c b/tests/test-covers.c index 195f907..20b4d7b 100644 --- a/tests/test-covers.c +++ b/tests/test-covers.c @@ -64,11 +64,11 @@ save_song_thumbnails (Itdb_Track *song) static guint count = 0; GList *it; GList *thumbs; - Itdb_Thumb_Ipod *thumb = (Itdb_Thumb_Ipod*)song->artwork->thumbnail; - if (thumb == NULL) { + if (song->artwork->thumbnail == NULL) { return; } - thumbs = itdb_thumb_ipod_to_pixbufs (song->itdb->device, thumb); + thumbs = itdb_thumb_to_pixbufs (song->itdb->device, + song->artwork->thumbnail); for (it = thumbs; it != NULL; it = it->next) { GdkPixbuf *pixbuf; |