[rygel] core: Make the device unavailable before removing



commit 8cd352cae2b0b7a7450c324e3c2203b19e955c8e
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Jul 8 17:57:08 2009 +0300

    core: Make the device unavailable before removing

 src/rygel/rygel-main.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-main.vala b/src/rygel/rygel-main.vala
index 8b5d285..67c2936 100644
--- a/src/rygel/rygel-main.vala
+++ b/src/rygel/rygel-main.vala
@@ -148,6 +148,7 @@ public class Rygel.Main : Object {
         }
 
         foreach (var device in device_list) {
+            device.available = false;
             this.root_devices.remove (device);
         }
     }



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