diff options
author | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-10-07 23:37:15 +0000 |
---|---|---|
committer | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-10-07 23:37:15 +0000 |
commit | 27a4d6d54c9d22993d5e29f4d082a05931a122ce (patch) | |
tree | 9baba652ade38492f512ef94525a3ff43d10e26b /src | |
parent | 8dd1cfed4fb861e6d9fb4104072971145fc8405f (diff) | |
download | libgpod-tmz-27a4d6d54c9d22993d5e29f4d082a05931a122ce.tar.gz libgpod-tmz-27a4d6d54c9d22993d5e29f4d082a05931a122ce.tar.xz libgpod-tmz-27a4d6d54c9d22993d5e29f4d082a05931a122ce.zip |
Fix itdb_device_supports_artwork to use info from SysInfoExtended
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2138 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src')
-rw-r--r-- | src/itdb_device.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/itdb_device.c b/src/itdb_device.c index 9b20f15..ac7e95c 100644 --- a/src/itdb_device.c +++ b/src/itdb_device.c @@ -1342,11 +1342,13 @@ const gchar *itdb_info_get_ipod_generation_string (Itdb_IpodGeneration generatio */ gboolean itdb_device_supports_artwork (const Itdb_Device *device) { + GList *formats; if (device == NULL) { return FALSE; } - - return (itdb_device_get_artwork_formats (device, ARTWORK_TYPE_COVER_ART) != NULL); + formats = itdb_device_get_cover_art_formats (device); + g_list_free (formats); + return (formats != NULL); } |