summaryrefslogtreecommitdiffstats
path: root/src/itdb.h
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2008-07-08 20:14:33 -0400
committerTodd Zullinger <tmz@pobox.com>2008-07-08 20:49:31 -0400
commit384fb5393b70d1ab3ed75bae1c4a91a5c7c2d998 (patch)
tree28c15927d7358618c9dd68aec89dac3e8e4c7345 /src/itdb.h
parentaaf9d48ca87f9149fca513f9ea4ae16a9dad2c68 (diff)
downloadlibgpod-384fb5393b70d1ab3ed75bae1c4a91a5c7c2d998.tar.gz
libgpod-384fb5393b70d1ab3ed75bae1c4a91a5c7c2d998.tar.xz
libgpod-384fb5393b70d1ab3ed75bae1c4a91a5c7c2d998.zip
Fix build of python bindings with new thumbnail API
This just fixes the build. More work needs to be done to properly adapt the bindings to the new API and make it usable from python.
Diffstat (limited to 'src/itdb.h')
-rw-r--r--src/itdb.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/itdb.h b/src/itdb.h
index 65096fa..6201006 100644
--- a/src/itdb.h
+++ b/src/itdb.h
@@ -1184,11 +1184,10 @@ void itdb_photodb_photoalbum_remove (Itdb_PhotoDB *db,
Itdb_PhotoAlbum *itdb_photodb_photoalbum_by_name(Itdb_PhotoDB *db,
const gchar *albumname );
-/* itdb_artwork_... -- you probably won't need many of these (probably
- * with the exception of itdb_artwork_get_thumb_by_type() and
- * itdb_thumb_get_gdk_pixbuf() probably). Use the itdb_photodb_...()
- * functions when adding photos, and the itdb_track_...() functions
- * when adding coverart to audio. */
+/* itdb_artwork_... -- you probably won't need many of these (with
+ * the exception of itdb_artwork_get_pixbuf() probably). Use the
+ * itdb_photodb_...() functions when adding photos, and the
+ * itdb_track_...() functions when adding coverart to audio. */
Itdb_Artwork *itdb_artwork_new (void);
Itdb_Artwork *itdb_artwork_duplicate (Itdb_Artwork *artwork);
void itdb_artwork_free (Itdb_Artwork *artwork);
@@ -1204,14 +1203,12 @@ gboolean itdb_artwork_set_thumbnail_from_pixbuf (Itdb_Artwork *artwork,
gint rotation,
GError **error);
void itdb_artwork_remove_thumbnails (Itdb_Artwork *artwork);
+/* the following function returns a pointer to a GdkPixbuf if
+ gdk-pixbuf is installed -- a NULL pointer otherwise. */
gpointer itdb_artwork_get_pixbuf (Itdb_Device *device, Itdb_Artwork *artwork,
gint width, gint height);
/* itdb_thumb_... */
-/* the following function returns a pointer to a GdkPixbuf if
- gdk-pixbuf is installed -- a NULL pointer otherwise. */
-gpointer itdb_thumb_get_gdk_pixbuf (Itdb_Device *device,
- Itdb_Thumb *thumb);
Itdb_Thumb *itdb_thumb_duplicate (Itdb_Thumb *thumb);
void itdb_thumb_free (Itdb_Thumb *thumb);