From: Zeeshan Ali (Khattak) Date: Tue, 21 Dec 2010 21:16:19 +0000 (+0200) Subject: core: Some debug log from SimpleContainer.add_child_container() X-Git-Tag: RYGEL_0_9_5~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d411313ba09987c0ec827d38f6c49d3ef1341edf;p=profile%2Fivi%2Frygel.git core: Some debug log from SimpleContainer.add_child_container() --- diff --git a/src/rygel/rygel-simple-container.vala b/src/rygel/rygel-simple-container.vala index 3b04ee3..01cafee 100644 --- a/src/rygel/rygel-simple-container.vala +++ b/src/rygel/rygel-simple-container.vala @@ -62,6 +62,9 @@ public class Rygel.SimpleContainer : Rygel.MediaContainer, if (child.child_count > 0) { this.add_child (child); } else { + debug ("Container '%s' empty, refusing to add to hierarchy " + + "until it has any children to offer.", + child.id); this.empty_children.add (child); child.container_updated.connect (this.on_container_updated); } @@ -138,6 +141,9 @@ public class Rygel.SimpleContainer : Rygel.MediaContainer, this.add_child (updated); this.updated (); + + debug ("Container '%s' now non-empty, added it to hierarchy now.", + updated.id); } } }