[banshee/gio-hardware] Cleanup some WriteLines, syntax



commit e52d13053d7bf4e2bbceb59cedc1b47713a61fa2
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Tue Jul 27 09:05:57 2010 -0700

    Cleanup some WriteLines, syntax

 .../Banshee.Hardware.Gio/HardwareManager.cs        |    1 +
 src/Libraries/Mtp/Mtp/MtpDevice.cs                 |    7 +------
 2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/HardwareManager.cs b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/HardwareManager.cs
index 26971b9..6640252 100644
--- a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/HardwareManager.cs
+++ b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/HardwareManager.cs
@@ -69,6 +69,7 @@ namespace Banshee.Hardware.Gio
         }
 
 #region IHardwareManager
+
         public event DeviceAddedHandler DeviceAdded;
         public event DeviceRemovedHandler DeviceRemoved;
 
diff --git a/src/Libraries/Mtp/Mtp/MtpDevice.cs b/src/Libraries/Mtp/Mtp/MtpDevice.cs
index afaa97e..257d17a 100644
--- a/src/Libraries/Mtp/Mtp/MtpDevice.cs
+++ b/src/Libraries/Mtp/Mtp/MtpDevice.cs
@@ -272,15 +272,10 @@ namespace Mtp
         {
             int count = 0;
             IntPtr ptr = IntPtr.Zero;
-            Console.WriteLine ("Getting raw devices");
             LIBMTP_Detect_Raw_Devices (ref ptr, ref count);
-            Console.WriteLine ("got raw devices");
 
             List<RawMtpDevice> devices = new List<RawMtpDevice>();
-            Console.WriteLine ("Count is:{0}", count);
-            Console.WriteLine ("initial is: {0}", ptr);
-            for (int i = 0; i < count; i++)
-            {
+            for (int i = 0; i < count; i++) {
                 IntPtr offset = Offset (ptr, i * Marshal.SizeOf (typeof (RawDeviceStruct)));
                 RawDeviceStruct d = (RawDeviceStruct)Marshal.PtrToStructure (offset, typeof(RawDeviceStruct));
                 devices.Add(new RawMtpDevice (d));



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