[rygel] core: Don't queue containers for removal



commit 62843e9e36743a881015128b0435d68cc59fb351
Author: Jens Georg <jensg openismus com>
Date:   Wed Apr 10 14:23:32 2013 +0200

    core: Don't queue containers for removal

 src/librygel-server/rygel-object-creator.vala |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-server/rygel-object-creator.vala b/src/librygel-server/rygel-object-creator.vala
index 169650f..09dad92 100644
--- a/src/librygel-server/rygel-object-creator.vala
+++ b/src/librygel-server/rygel-object-creator.vala
@@ -162,9 +162,8 @@ internal class Rygel.ObjectCreator: GLib.Object, Rygel.StateMachine {
             this.conclude ();
 
             if (this.container_id == MediaContainer.ANY &&
-                ((this.object is MediaContainer) ||
                 (this.object is MediaItem && (this.object as
-                                              MediaItem).place_holder))) {
+                                              MediaItem).place_holder)) {
                 var queue = ObjectRemovalQueue.get_default ();
 
                 queue.queue (this.object, this.cancellable);


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