[rygel] external: Set the correct ID on dummy container



commit 1ce4df69464f2ede7c4d4e77884b928ab8be9447
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Jun 16 19:31:53 2010 +0300

    external: Set the correct ID on dummy container

 src/plugins/external/rygel-external-container.vala |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/external/rygel-external-container.vala b/src/plugins/external/rygel-external-container.vala
index debdb2a..7b87e73 100644
--- a/src/plugins/external/rygel-external-container.vala
+++ b/src/plugins/external/rygel-external-container.vala
@@ -148,7 +148,9 @@ public class Rygel.ExternalContainer : Rygel.MediaContainer {
             if (parent != null) {
                 parent_container = parent;
             } else {
-                parent_container = new ExternalDummyContainer (id,
+                var parent_id = props.lookup ("Parent").get_string ();
+
+                parent_container = new ExternalDummyContainer (parent_id,
                                                                "LaLaLa",
                                                                0,
                                                                null);



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