From eda4fe948eebbf54077ea7f9f67b610a08b6d2b1 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Thu, 17 Jul 2008 16:10:33 +0000 Subject: Remove references to itdb_thumb_get_gdk_pixbuf() git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2050 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- bindings/python/gpod.i.in | 2 +- bindings/python/ipod.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bindings/python') 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) -- cgit