[banshee] [Gio] Remove DiskDevice from the Gio backend



commit a3a9032666099621b280a3feff785f796b66005c
Author: Alan McGovern <alan mcgovern gmail com>
Date:   Wed Sep 29 00:23:19 2010 +0100

    [Gio] Remove DiskDevice from the Gio backend
    
    Nothing uses DiskDevice currently and it's breaking some mass storage
    based devices so until we know of a use for it so that we know what
    heuristics we need to detect the devices we want, don't implement it.

 .../Banshee.Hardware.Gio/BlockDevice.cs            |    3 +-
 .../Banshee.Gio/Banshee.Hardware.Gio/DiskDevice.cs |   58 --------------------
 2 files changed, 1 insertions(+), 60 deletions(-)
---
diff --git a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/BlockDevice.cs b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/BlockDevice.cs
index a642844..5447f3f 100644
--- a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/BlockDevice.cs
+++ b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/BlockDevice.cs
@@ -56,8 +56,7 @@ namespace Banshee.Hardware.Gio
             if (rawBlock == null) {
                 return null;
             } else {
-                return (BlockDevice) CdromDevice.Resolve (device)
-                    ?? (BlockDevice) DiskDevice.Resolve (device);
+                return (BlockDevice) CdromDevice.Resolve (device);
             }
         }
 



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