summaryrefslogtreecommitdiffstats
path: root/bindings/python
diff options
context:
space:
mode:
authornicholas <nicholas@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-02-25 23:16:40 +0000
committernicholas <nicholas@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-02-25 23:16:40 +0000
commit651076e7e4feeb92472646cfca8558f5d53e595e (patch)
tree9de1fa7cce9a1caa065792f02886774a99278a59 /bindings/python
parent27bb7840cd2089d243fca14874e56718f345b616 (diff)
downloadlibgpod-651076e7e4feeb92472646cfca8558f5d53e595e.tar.gz
libgpod-651076e7e4feeb92472646cfca8558f5d53e595e.tar.xz
libgpod-651076e7e4feeb92472646cfca8558f5d53e595e.zip
I think I'm abusing a Swig internal implementation detail here; and they changed it a little. Update so we can still compile. Using swig at least above 1.3.23.
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1209 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/gpod.i6
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings/python/gpod.i b/bindings/python/gpod.i
index 4b0ea32..11670b8 100644
--- a/bindings/python/gpod.i
+++ b/bindings/python/gpod.i
@@ -44,7 +44,7 @@ PyObject* sw_get_tracks(Itdb_iTunesDB *itdb) {
GList *l;
list = PyList_New(g_list_length(itdb->tracks));
for (l = itdb->tracks, i = 0; l; l = l->next, ++i) {
- PyList_SET_ITEM(list, i, SWIG_NewPointerObj((void*)(l->data), SWIGTYPE_p_Itdb_Track, 0));
+ PyList_SET_ITEM(list, i, SWIG_NewPointerObj((void*)(l->data), SWIGTYPE_p__Itdb_Track, 0));
}
return list;
}
@@ -55,7 +55,7 @@ PyObject* sw_get_playlist_tracks(Itdb_Playlist *pl) {
GList *l;
list = PyList_New(g_list_length(pl->members));
for (l = pl->members, i = 0; l; l = l->next, ++i) {
- PyList_SET_ITEM(list, i, SWIG_NewPointerObj((void*)(l->data), SWIGTYPE_p_Itdb_Track, 0));
+ PyList_SET_ITEM(list, i, SWIG_NewPointerObj((void*)(l->data), SWIGTYPE_p__Itdb_Track, 0));
}
return list;
}
@@ -66,7 +66,7 @@ PyObject* sw_get_playlists(Itdb_iTunesDB *itdb) {
GList *l;
list = PyList_New(g_list_length(itdb->playlists));
for (l = itdb->playlists, i = 0; l; l = l->next, ++i) {
- PyList_SET_ITEM(list, i, SWIG_NewPointerObj((void*)(l->data), SWIGTYPE_p_Itdb_Playlist, 0));
+ PyList_SET_ITEM(list, i, SWIG_NewPointerObj((void*)(l->data), SWIGTYPE_p__Itdb_Playlist, 0));
}
return list;
}