[Xfce4-commits] <exo:master> Include exo_mount_device_is_mount_point only when HAL is available.

Jannis Pohlmann noreply at xfce.org
Mon May 31 20:10:02 CEST 2010


Updating branch refs/heads/master
         to 3271137a7a3ad3f325edcf0b0ae2eb30cf9d5b4c (commit)
       from f08deccd6e5092ca57f51fe56b1275ef903c3a89 (commit)

commit 3271137a7a3ad3f325edcf0b0ae2eb30cf9d5b4c
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Mon May 31 20:08:25 2010 +0200

    Include exo_mount_device_is_mount_point only when HAL is available.
    
    Otherwise, the compiler will abort with an error.

 exo-mount/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/exo-mount/main.c b/exo-mount/main.c
index 3892d0f..87eba30 100644
--- a/exo-mount/main.c
+++ b/exo-mount/main.c
@@ -146,6 +146,7 @@ exo_mount_device_lookup (const gchar      *device_file,
 
 
 
+#ifdef HAVE_HAL
 static gboolean
 exo_mount_device_is_mount_point (const gchar *device_file)
 {
@@ -155,6 +156,7 @@ exo_mount_device_is_mount_point (const gchar *device_file)
   return FALSE;
 #endif
 }
+#endif
 
 
 



More information about the Xfce4-commits mailing list