Revision: 2050
http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2050&view=rev
Author: tmzullinger
Date: 2008-07-17 16:10:33 +0000 (Thu, 17 Jul 2008)
Log Message:
-----------
Remove references to itdb_thumb_get_gdk_pixbuf()
Modified Paths:
--------------
libgpod/trunk/ChangeLog
libgpod/trunk/README
libgpod/trunk/bindings/python/gpod.i.in
libgpod/trunk/bindings/python/ipod.py
libgpod/trunk/docs/reference/libgpod-sections.txt
libgpod/trunk/docs/reference/tmpl/artwork.sgml
libgpod/trunk/docs/reference/tmpl/itunesdb-db.sgml
libgpod/trunk/src/itdb.h
Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog 2008-07-16 23:43:38 UTC (rev 2049)
+++ libgpod/trunk/ChangeLog 2008-07-17 16:10:33 UTC (rev 2050)
@@ -1,3 +1,13 @@
+2008-07-17 Todd Zullinger <tmzullinger at users.sourceforge.net>
+
+ * README
+ bindings/python/gpod.i.in
+ bindings/python/ipod.py
+ docs/reference/libgpod-sections.txt
+ docs/reference/tmpl/artwork.sgml
+ docs/reference/tmpl/itunesdb-db.sgml
+ src/itdb.h: Remove references to itdb_thumb_get_gdk_pixbuf()
+
2008-07-10 Christophe Fergeau <[EMAIL PROTECTED]>
* src/db-artwork-writer.c: if we fail to write ithmb files for some
Modified: libgpod/trunk/README
===================================================================
--- libgpod/trunk/README 2008-07-16 23:43:38 UTC (rev 2049)
+++ libgpod/trunk/README 2008-07-17 16:10:33 UTC (rev 2050)
@@ -48,11 +48,9 @@
are available. Please see itdb.h for details (itdb_playlist_*()).
Each track can have a thumbnail associated with it. You can retrieve a
-GdkPixmap of the thumbnail using itdb_thumb_get_gdk_pixbuf() (tracks
-have thumbnails of the following types associated:
-ITDB_THUMB_COVER_SMALL and _LARGE). You can remove a thumbnail with
-itdb_track_remove_thumbnails(). And finally, you can set a new
-thumbnail using itdb_track_set_thumbnails().
+GdkPixmap of the thumbnail using itdb_artwork_get_pixbuf(). You can
+remove a thumbnail with itdb_track_remove_thumbnails(). And finally,
+you can set a new thumbnail using itdb_track_set_thumbnails().
Please note that iTunes additionally stores the artwork as tags in the
original music file. That's also from where the data is read when
Modified: libgpod/trunk/bindings/python/gpod.i.in
===================================================================
--- libgpod/trunk/bindings/python/gpod.i.in 2008-07-16 23:43:38 UTC (rev
2049)
+++ libgpod/trunk/bindings/python/gpod.i.in 2008-07-17 16:10:33 UTC (rev
2050)
@@ -487,7 +487,7 @@
#ifdef HAVE_GDKPIXBUF
#ifdef HAVE_PYGOBJECT
-%typemap(out) gpointer itdb_thumb_get_gdk_pixbuf {
+%typemap(out) gpointer itdb_artwork_get_pixbuf {
$result = pygobject_new((GObject *)$1);
g_object_unref($1);
}
Modified: libgpod/trunk/bindings/python/ipod.py
===================================================================
--- libgpod/trunk/bindings/python/ipod.py 2008-07-16 23:43:38 UTC (rev
2049)
+++ libgpod/trunk/bindings/python/ipod.py 2008-07-17 16:10:33 UTC (rev
2050)
@@ -1023,10 +1023,10 @@
def get_pixbuf(self):
# this deals with coverart and photo albums
if hasattr(self.__ownerobject._database,"_itdb"):
- return gpod.itdb_thumb_get_gdk_pixbuf(
+ return gpod.itdb_artwork_get_pixbuf(
self.__ownerobject._database._itdb.device,
self._thumbnail)
else:
- return gpod.itdb_thumb_get_gdk_pixbuf(
+ return gpod.itdb_artwork_get_pixbuf(
self.__ownerobject._database.device,
self._thumbnail)
Modified: libgpod/trunk/docs/reference/libgpod-sections.txt
===================================================================
--- libgpod/trunk/docs/reference/libgpod-sections.txt 2008-07-16 23:43:38 UTC
(rev 2049)
+++ libgpod/trunk/docs/reference/libgpod-sections.txt 2008-07-17 16:10:33 UTC
(rev 2050)
@@ -188,7 +188,6 @@
itdb_artwork_remove_thumbnail
itdb_artwork_remove_thumbnails
itdb_artwork_get_thumb_by_type
-itdb_thumb_get_gdk_pixbuf
itdb_thumb_duplicate
itdb_thumb_free
itdb_thumb_new
Modified: libgpod/trunk/docs/reference/tmpl/artwork.sgml
===================================================================
--- libgpod/trunk/docs/reference/tmpl/artwork.sgml 2008-07-16 23:43:38 UTC
(rev 2049)
+++ libgpod/trunk/docs/reference/tmpl/artwork.sgml 2008-07-17 16:10:33 UTC
(rev 2050)
@@ -101,16 +101,6 @@
@artwork:
-<!-- ##### FUNCTION itdb_thumb_get_gdk_pixbuf ##### -->
-<para>
-
-</para>
-
[EMAIL PROTECTED]:
[EMAIL PROTECTED]:
[EMAIL PROTECTED]:
-
-
<!-- ##### FUNCTION itdb_thumb_duplicate ##### -->
<para>
Modified: libgpod/trunk/docs/reference/tmpl/itunesdb-db.sgml
===================================================================
--- libgpod/trunk/docs/reference/tmpl/itunesdb-db.sgml 2008-07-16 23:43:38 UTC
(rev 2049)
+++ libgpod/trunk/docs/reference/tmpl/itunesdb-db.sgml 2008-07-17 16:10:33 UTC
(rev 2050)
@@ -59,11 +59,9 @@
<para>
Each track can have a thumbnail associated with it. You can
retrieve a GdkPixmap of the thumbnail using
-itdb_thumb_get_gdk_pixbuf() (tracks have thumbnails of the
-following types associated: @ITDB_THUMB_COVER_SMALL and
[EMAIL PROTECTED]). You can remove a thumbnail with
-itdb_track_remove_thumbnails(). And finally, you can set a
-new thumbnail using itdb_track_set_thumbnails().
+itdb_artwork_get_pixbuf(). You can remove a thumbnail with
+itdb_track_remove_thumbnails(). And finally, you can set a new
+thumbnail using itdb_track_set_thumbnails().
</para>
<para>
Please note that iTunes additionally stores the artwork as tags
Modified: libgpod/trunk/src/itdb.h
===================================================================
--- libgpod/trunk/src/itdb.h 2008-07-16 23:43:38 UTC (rev 2049)
+++ libgpod/trunk/src/itdb.h 2008-07-17 16:10:33 UTC (rev 2050)
@@ -1184,11 +1184,10 @@
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 @@
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);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2