[rygel] core: Only provide 'importUri' for place-holder items
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Only provide 'importUri' for place-holder items
- Date: Tue, 26 Oct 2010 13:40:25 +0000 (UTC)
commit c901c87c0f386fa7b5c79b0607d78f48b1cf840e
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Oct 25 20:19:05 2010 +0300
core: Only provide 'importUri' for place-holder items
src/rygel/rygel-media-item.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-media-item.vala b/src/rygel/rygel-media-item.vala
index e03381a..ac2aa7f 100644
--- a/src/rygel/rygel-media-item.vala
+++ b/src/rygel/rygel-media-item.vala
@@ -132,7 +132,7 @@ public abstract class Rygel.MediaItem : MediaObject {
res.uri = "";
}
- if (import_uri != null) {
+ if (import_uri != null && this.place_holder) {
res.import_uri = import_uri;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]