[rygel] core: Put CreateObject arguments in correct order



commit fe46c38d2c912842ade2d86c2c8e6803401f6d97
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Aug 4 18:00:34 2010 +0300

    core: Put CreateObject arguments in correct order
    
    DLNA (7.2.14.2,3) requires that arguments in action responses be list in
    the exact same order as they are listed in the service description.

 src/rygel/rygel-item-creator.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/rygel/rygel-item-creator.vala b/src/rygel/rygel-item-creator.vala
index a116383..e670e2a 100644
--- a/src/rygel/rygel-item-creator.vala
+++ b/src/rygel/rygel-item-creator.vala
@@ -148,8 +148,8 @@ internal class Rygel.ItemCreator: GLib.Object, Rygel.StateMachine {
         string didl = this.didl_writer.get_string ();
 
         /* Set action return arguments */
-        this.action.set ("Result", typeof (string), didl,
-                         "ObjectID", typeof (string), this.item.id);
+        this.action.set ("ObjectID", typeof (string), this.item.id,
+                         "Result", typeof (string), didl);
 
         this.action.return ();
         this.completed ();



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