[amarok] src/core-impl/collections/ipodcollection: IpodCollection: fix compilation failure with recent glib versions

Matěj Laitl matej at laitl.cz
Mon Apr 16 20:46:27 UTC 2012


Git commit f3e92cd75009e2355020d45ed58a4b27d547f18f by Matěj Laitl.
Committed on 16/04/2012 at 22:34.
Pushed by laitl into branch 'master'.

IpodCollection: fix compilation failure with recent glib versions

Thanks go to Bernd Buschinski on amarok at kde.org for spotting and
reporting this.

CCMAIL: b.buschinski at googlemail.com
CCMAIL: amarok at kde.org

M  +1    -1    src/core-impl/collections/ipodcollection/IpodMeta.h
M  +1    -1    src/core-impl/collections/ipodcollection/IpodPlaylistProvider.cpp

http://commits.kde.org/amarok/f3e92cd75009e2355020d45ed58a4b27d547f18f

diff --git a/src/core-impl/collections/ipodcollection/IpodMeta.h b/src/core-impl/collections/ipodcollection/IpodMeta.h
index a2c64c0..832d4c6 100644
--- a/src/core-impl/collections/ipodcollection/IpodMeta.h
+++ b/src/core-impl/collections/ipodcollection/IpodMeta.h
@@ -24,7 +24,7 @@
 
 #include <QReadWriteLock>
 
-#include <glib/gtypes.h>
+#include <glib.h>
 #include <glibconfig.h>
 
 
diff --git a/src/core-impl/collections/ipodcollection/IpodPlaylistProvider.cpp b/src/core-impl/collections/ipodcollection/IpodPlaylistProvider.cpp
index 11d6f39..e4544ba 100644
--- a/src/core-impl/collections/ipodcollection/IpodPlaylistProvider.cpp
+++ b/src/core-impl/collections/ipodcollection/IpodPlaylistProvider.cpp
@@ -25,7 +25,7 @@
 #include "core-impl/collections/support/FileCollectionLocation.h"
 #include "core-impl/meta/file/File.h"
 
-#include <glib/glist.h>
+#include <glib.h>
 #include <gpod/itdb.h>
 
 



More information about the Amarok mailing list