From: <te...@us...> - 2005-11-22 12:27:30
|
Update of /cvsroot/gtkpod/libgpod/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23688/src Modified Files: ipod-device.c Log Message: 2005-11-22 Christophe Fergeau <te...@gn...> * src/ipod-device.c: fix compilation issue when hal isn't available Index: ipod-device.c =================================================================== RCS file: /cvsroot/gtkpod/libgpod/src/ipod-device.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- ipod-device.c 21 Nov 2005 21:43:16 -0000 1.10 +++ ipod-device.c 22 Nov 2005 12:27:17 -0000 1.11 @@ -358,7 +358,6 @@ static LibHalContext *ipod_device_hal_initialize(void); static void ipod_device_detect_volume_used(IpodDevice *device); static guint64 ipod_device_dir_size(const gchar *path); -static gboolean ipod_device_has_open_fd(IpodDevice *device); static gboolean ipod_device_read_sysinfo(IpodDevice *device); static gboolean ipod_device_detect_writeable(IpodDevice *device); static void ipod_device_restore_reboot_preferences(IpodDevice *device); @@ -1367,7 +1366,8 @@ return retsize; } -gboolean +#ifdef HAVE_LIBHAL +static gboolean ipod_device_has_open_fd(IpodDevice *device) { GDir *dir, *fddir; @@ -1425,7 +1425,6 @@ return FALSE; } -#ifdef HAVE_LIBHAL /* modded from g-v-m */ static int ipod_device_run_command(IpodDevice *device, const char *command, |