summaryrefslogtreecommitdiffstats
path: root/src/db-artwork-writer.c
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2008-06-09 19:57:02 +0000
committerChristophe Fergeau <teuf@gnome.org>2008-06-09 19:57:02 +0000
commit1af9e0f7c76f4de0e586cdde79417b5e64edb66f (patch)
treeb8d6b518333dcceee4f2a7010dae3df74047661c /src/db-artwork-writer.c
parentc6ada16b996189b1f80265bbfd001fcce14ce7de (diff)
downloadlibgpod-1af9e0f7c76f4de0e586cdde79417b5e64edb66f.tar.gz
libgpod-1af9e0f7c76f4de0e586cdde79417b5e64edb66f.tar.xz
libgpod-1af9e0f7c76f4de0e586cdde79417b5e64edb66f.zip
* src/db-artwork-writer.c:
* src/db-image-parser.h: * src/itdb.h: * src/itdb_device.c: * src/itdb_device.h: * src/ithumb-writer.c: get rid of ItdbThumbType, it's replaced by pointers to the appropriate Itdb_ArtworkFormat for the thumbnail type when it's needed git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2010 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/db-artwork-writer.c')
-rw-r--r--src/db-artwork-writer.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/db-artwork-writer.c b/src/db-artwork-writer.c
index 24e1bbb..1d868fa 100644
--- a/src/db-artwork-writer.c
+++ b/src/db-artwork-writer.c
@@ -749,31 +749,6 @@ write_mhif (Itdb_DB *db, iPodBuffer *buffer,
return get_gint32 (mhif->header_len, buffer->byte_order);
}
-G_GNUC_INTERNAL gboolean
-itdb_thumb_type_is_valid_for_db (const Itdb_ArtworkFormat *format,
- DbType db_type)
-{
- switch (format->type) {
- case ITDB_THUMB_COVER_SMALL:
- case ITDB_THUMB_COVER_LARGE:
- case ITDB_THUMB_COVER_XLARGE:
- case ITDB_THUMB_COVER_MEDIUM:
- case ITDB_THUMB_COVER_SMEDIUM:
- case ITDB_THUMB_COVER_XSMALL:
- return (db_type == DB_TYPE_ITUNES);
- case ITDB_THUMB_CHAPTER_SMALL:
- case ITDB_THUMB_CHAPTER_LARGE:
- return FALSE; /* not supported yet */
- case ITDB_THUMB_PHOTO_SMALL:
- case ITDB_THUMB_PHOTO_LARGE:
- case ITDB_THUMB_PHOTO_FULL_SCREEN:
- case ITDB_THUMB_PHOTO_TV_SCREEN:
- return (db_type == DB_TYPE_PHOTO);
- }
-
- g_return_val_if_reached (FALSE);
-}
-
static int
write_mhlf (Itdb_DB *db, iPodBuffer *buffer)
{