rygel r121 - in trunk: . src
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r121 - in trunk: . src
- Date: Tue, 28 Oct 2008 21:00:51 +0000 (UTC)
Author: zeeshanak
Date: Tue Oct 28 21:00:51 2008
New Revision: 121
URL: http://svn.gnome.org/viewvc/rygel?rev=121&view=rev
Log:
No need for MediaManager to prefix IDs with root_id.
Modified:
trunk/ChangeLog
trunk/src/gupnp-media-manager.vala
Modified: trunk/src/gupnp-media-manager.vala
==============================================================================
--- trunk/src/gupnp-media-manager.vala (original)
+++ trunk/src/gupnp-media-manager.vala Tue Oct 28 21:00:51 2008
@@ -183,20 +183,8 @@
string parent_id,
string title,
uint child_count) {
- string exported_id, exported_parent_id;
-
- if (id == this.root_id)
- exported_id = id;
- else
- exported_id = this.root_id + ":" + id;
-
- if (parent_id == this.root_id)
- exported_parent_id = parent_id;
- else
- exported_parent_id = this.root_id + ":" + parent_id;
-
- this.didl_writer.start_container (this.root_id + ":" + id,
- exported_parent_id,
+ this.didl_writer.start_container (id,
+ parent_id,
(int) child_count,
false,
false);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]