From d823ee0e7e488a4ab3a47bac14f81a914f88bd86 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 21 Nov 2005 20:12:04 +0000 Subject: 2005-11-21 Christophe Fergeau * 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 * 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 * 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 * INSTALL: * autogen.sh: * gnome-autogen.sh: 2005-11-21 Christophe Fergeau * 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 * 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 * 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 * src/itdb_itunesdb.c: (itdb_new): initialise glib type system before calling ipod_device_new (which creates a gobject) 2005-11-13 Jorg Schuler * 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 --- src/ipod-device.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src') 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) { -- cgit