summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
{