[rygel] core: Document SimpleContainer.add_child_container()
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [rygel] core: Document SimpleContainer.add_child_container()
 
- Date: Tue, 21 Dec 2010 21:47:03 +0000 (UTC)
 
commit e5390bfcb3a0b1144f138db5222d50cce834f3a6
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Dec 21 23:15:42 2010 +0200
    core: Document SimpleContainer.add_child_container()
 src/rygel/rygel-simple-container.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-simple-container.vala b/src/rygel/rygel-simple-container.vala
index e05fd4e..3b04ee3 100644
--- a/src/rygel/rygel-simple-container.vala
+++ b/src/rygel/rygel-simple-container.vala
@@ -54,6 +54,10 @@ public class Rygel.SimpleContainer : Rygel.MediaContainer,
         this.child_count++;
     }
 
+    /**
+     * Container-specific version of @add_child that only actually adds the
+     * child container to the hierarchy until it has any children to offer.
+     */
     public void add_child_container (MediaContainer child) {
         if (child.child_count > 0) {
             this.add_child (child);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]