[banshee] Hardware.Gio: Disable usage of IDevice property-getters (bgo#642891)



commit 325272ce3a82a927f4ddca752eac8bd0e0a25a55
Author: Chow Loong Jin <hyperair ubuntu com>
Date:   Tue Feb 22 02:12:32 2011 +0800

    Hardware.Gio: Disable usage of IDevice property-getters (bgo#642891)
    
    Only use them if building with legacy ipod-sharp based iPod support.
    
    Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>

 .../Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs  |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs
index f5d7976..ff1b496 100644
--- a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs
+++ b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs
@@ -194,6 +194,7 @@ namespace Banshee.Hardware.Gio
             Device = device;
         }
 
+#if LEGACY_IPOD_SUPPORT
         bool IDevice.PropertyExists (string key)
         {
             return Device.PropertyExists (key);
@@ -228,6 +229,7 @@ namespace Banshee.Hardware.Gio
         {
             return Device.GetPropertyStringList (key);
         }
+#endif
     }
 }
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]