summaryrefslogtreecommitdiffstats
path: root/src/ipod-device.c
diff options
context:
space:
mode:
authorteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2005-11-04 09:48:02 +0000
committerteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2005-11-04 09:48:02 +0000
commita4a9110db93bf0e4087fe92ab3048c3ecc077de8 (patch)
tree3ab46585966bebfddb36ea762ff784a23d5c80c9 /src/ipod-device.c
parentb5e3141da6d37b1d4ea5103d32aa62e28203ecf9 (diff)
downloadlibgpod-a4a9110db93bf0e4087fe92ab3048c3ecc077de8.tar.gz
libgpod-a4a9110db93bf0e4087fe92ab3048c3ecc077de8.tar.xz
libgpod-a4a9110db93bf0e4087fe92ab3048c3ecc077de8.zip
2005-11-04 Christophe Fergeau <teuf@gnome.org>
* src/ipod-device.c: (ipod_device_new): * src/ipod-device.h: * src/itdb.h: * src/itdb_itunesdb.c: (itdb_free), (itdb_parse), (itdb_shuffle_write), (itdb_set_mountpoint): added an IpodDevice element to Itdb_iTunesDB. This makes it possible for libgpod to know the type (regular/nano/mini/video/...) of the iPod it's currently dealing with (which is necessary for proper cover art support for example) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1139 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/ipod-device.c')
-rw-r--r--src/ipod-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipod-device.c b/src/ipod-device.c
index b429bfb..8971693 100644
--- a/src/ipod-device.c
+++ b/src/ipod-device.c
@@ -1437,7 +1437,7 @@ ipod_device_run_command(IpodDevice *device, const char *command,
/* PUBLIC METHODS */
IpodDevice *
-ipod_device_new(gchar *hal_volume_id)
+ipod_device_new(const gchar *hal_volume_id)
{
IpodDevice *device = g_object_new(TYPE_IPOD_DEVICE,
"hal-volume-id", hal_volume_id, NULL);