diff options
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/python/gpod.i.in | 2 | ||||
-rw-r--r-- | bindings/python/ipod.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bindings/python/gpod.i.in b/bindings/python/gpod.i.in index e74d3d9..4ac7e20 100644 --- a/bindings/python/gpod.i.in +++ b/bindings/python/gpod.i.in @@ -487,7 +487,7 @@ typedef int gint; #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); } diff --git a/bindings/python/ipod.py b/bindings/python/ipod.py index 053eda6..e5440d2 100644 --- a/bindings/python/ipod.py +++ b/bindings/python/ipod.py @@ -1023,10 +1023,10 @@ class Thumbnail: 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) |