[rygel] external: One factory for all items
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] external: One factory for all items
- Date: Mon, 16 Nov 2009 14:18:46 +0000 (UTC)
commit b2399f19117486faf96620eae55caad821a7daac
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Nov 16 16:15:06 2009 +0200
external: One factory for all items
src/plugins/external/rygel-external-container.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/external/rygel-external-container.vala b/src/plugins/external/rygel-external-container.vala
index 3571b5a..e5e0612 100644
--- a/src/plugins/external/rygel-external-container.vala
+++ b/src/plugins/external/rygel-external-container.vala
@@ -84,9 +84,9 @@ public class Rygel.ExternalContainer : Rygel.MediaContainer {
// Then get and add the child items
var obj_paths = this.actual_container.items;
+ var factory = new ExternalItemFactory ();
foreach (var obj_path in obj_paths) {
try {
- var factory = new ExternalItemFactory ();
var item = yield factory.create_for_path (obj_path, this);
media_objects.add (item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]