summaryrefslogtreecommitdiffstats
path: root/kde4-apps/amarok2/libgpod-0.7.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde4-apps/amarok2/libgpod-0.7.0.patch')
-rw-r--r--kde4-apps/amarok2/libgpod-0.7.0.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/kde4-apps/amarok2/libgpod-0.7.0.patch b/kde4-apps/amarok2/libgpod-0.7.0.patch
deleted file mode 100644
index bdde4b2a89..0000000000
--- a/kde4-apps/amarok2/libgpod-0.7.0.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Naur amarok-2.0.2.orig/src/collection/ipodcollection/handler/IpodHandler.cpp amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp
---- amarok-2.0.2.orig/src/collection/ipodcollection/handler/IpodHandler.cpp 2009-03-01 18:21:38.000000000 +0100
-+++ amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp 2009-04-22 21:18:51.000000000 +0200
-@@ -1339,12 +1339,17 @@
- QFileInfo tempImageFileInfo( tempImageFile ); // get info for path
- QString tempImagePath = tempImageFileInfo.absoluteFilePath(); // path
-
-+#ifdef ITDB_THUMB_COVER_SMALL
- Itdb_Thumb *thumb = NULL;
-+#endif
- GdkPixbuf *gpixbuf = NULL;
- QString thumbPath;
-
- // pull image out of ipod
-
-+#ifdef ITDB_THUMB_COVER_SMALL
-+ // we've got libgpod 0.6.0 here
-+
- if( ipodtrack->has_artwork == 0x01 )
- {
- // try small first
-@@ -1406,6 +1411,14 @@
- }
- }
- }
-+#else
-+ // libgpod 0.7.0
-+
-+ if( itdb_track_has_thumbnails ( ipodtrack ) )
-+ {
-+ gpixbuf = (GdkPixbuf*) itdb_track_get_thumbnail (ipodtrack, -1, -1 );
-+ }
-+#endif
-
- if(gpixbuf != NULL)
- {