[rygel] core: Don't queue containers for removal
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Don't queue containers for removal
- Date: Wed, 10 Apr 2013 12:33:18 +0000 (UTC)
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]