summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2005-11-21 20:12:04 +0000
committerChristophe Fergeau <teuf@gnome.org>2005-11-21 20:12:04 +0000
commitd823ee0e7e488a4ab3a47bac14f81a914f88bd86 (patch)
treef18474ea1cd0246cab29765cc4754c12999f2996
parent8b62d2ab267f3389fad75bf14bf464f04189db1b (diff)
downloadlibgpod-d823ee0e7e488a4ab3a47bac14f81a914f88bd86.tar.gz
libgpod-d823ee0e7e488a4ab3a47bac14f81a914f88bd86.tar.xz
libgpod-d823ee0e7e488a4ab3a47bac14f81a914f88bd86.zip
2005-11-21 Christophe Fergeau <teuf@gnome.org>
* src/ipod-device.c: fix g_mkdir_with_parents use (don't use it with glib 2.8, and mark it static) 2005-11-21 Christophe Fergeau <teuf@gnome.org> * src/db-artwork-writer.c: (write_mhod_type_3): * src/db-parse-context.c: * src/ipod-device.c: * src/itdb_private.h: * src/itdb_track.c: * src/ithumb-writer.c: (ithumb_writer_write_thumbnail): commit some changes which should help compiling with glib 2.4 2005-11-21 Christophe Fergeau <teuf@gnome.org> * autogen.sh: * gnome-autogen.sh: use autogen.sh script from gnome-common since the custom libgpod one keep having issues (this doesn't add a dependency on gnome-common since I imported the necessary script to our CVS) 2005-11-21 Christophe Fergeau <teuf@gnome.org> * INSTALL: * autogen.sh: * gnome-autogen.sh: 2005-11-21 Christophe Fergeau <teuf@gnome.org> * src/hal-common.h: mark hal stubs (for when hal isn't available) as G_GNUC_INTERNAL to avoid namespace clashes * src/ipod-device.c: * src/ipod-device.h: move hal header inclusion in the .c instead of having it in the .h 2005-11-19 Jorg Schuler <jcsjcs at users.sourceforge.net> * itdb_playlist.c: simplified API for itdb_spl_update() and itdb_splr_eval() * itdb_playlist.c: added itdb_spl_update_live() for convenience * itdb_itunesdb.c: (itdb_rename_files) also remove "iTunesShuffle" as this file might confuse iPod Shuffles. 2005-11-17 Jorg Schuler <jcsjcs at users.sourceforge.net> * configure.ac: check for version 2.4 of glib -- now we need to make sure that libgpod actually works with 2.4... 2005-11-15 Christophe Fergeau <teuf@gnome.org> * src/itdb_itunesdb.c: (itdb_new): initialise glib type system before calling ipod_device_new (which creates a gobject) 2005-11-13 Jorg Schuler <jcsjcs at users.sourceforge.net> * src/itdb_itunesdb.c: when new rating is set on the iPod, backup the old rating to app_rating. Not sure what it's for, but iTunes seem to do it. * src/itdb_itunesdb.c: * src/itdb.h: split unk164 into flag1, flag2, flag3, and flag4. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1159 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r--ChangeLog5
-rw-r--r--src/ipod-device.c7
2 files changed, 7 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 7ba46e1..c70faf8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-11-21 Christophe Fergeau <teuf@gnome.org>
+ * src/ipod-device.c: fix g_mkdir_with_parents use (don't use it with
+ glib 2.8, and mark it static)
+
+2005-11-21 Christophe Fergeau <teuf@gnome.org>
+
* src/db-artwork-writer.c: (write_mhod_type_3):
* src/db-parse-context.c:
* src/ipod-device.c:
diff --git a/src/ipod-device.c b/src/ipod-device.c
index c49e3ab..b8c815e 100644
--- a/src/ipod-device.c
+++ b/src/ipod-device.c
@@ -268,7 +268,7 @@ static gchar *sysinfo_arr_get_dup(gchar *arr[], const gchar *key)
}
-#if ((GTK_MAJOR_VERSION <= 2) && (GTK_MINOR_VERSION < 8))
+#if ((GLIB_MAJOR_VERSION <= 2) && (GLIB_MINOR_VERSION < 8))
/**
* g_mkdir_with_parents:
* @pathname: a pathname in the GLib file name encoding
@@ -282,10 +282,7 @@ static gchar *sysinfo_arr_get_dup(gchar *arr[], const gchar *key)
*
* Since: 2.8 (copied from GLIB version 2.8 - JCS)
*/
-int
-g_mkdir_with_parents (const gchar *pathname,
- int mode);
-int
+static int
g_mkdir_with_parents (const gchar *pathname,
int mode)
{