[rygel] core: Provide SimpleContainer.root
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] core: Provide SimpleContainer.root
- Date: Sun, 20 Sep 2009 23:26:22 +0000 (UTC)
commit 1ec81cfe26deea34a297215beb9df40ab57f61fb
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Sep 17 02:40:23 2009 +0300
core: Provide SimpleContainer.root
Provide a SimpleContainer construction method more suitable for root
containers.
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 40901d7..6cf2981 100644
--- a/src/rygel/rygel-simple-container.vala
+++ b/src/rygel/rygel-simple-container.vala
@@ -43,6 +43,10 @@ public class Rygel.SimpleContainer : Rygel.MediaContainer {
this.searches = new ArrayList<ObjectSearch> ();
}
+ public SimpleContainer.root (string title) {
+ this ("0", null, title);
+ }
+
public override void get_children (uint offset,
uint max_count,
Cancellable? cancellable,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]