[rygel/wip/update-object: 13/15] wip: Adapt to new vapi



commit eb006973e758e068b712b891bf9f72b1b010cbae
Author: Jens Georg <jensg openismus com>
Date:   Mon Oct 22 18:07:46 2012 +0200

    wip: Adapt to new vapi

 src/librygel-server/rygel-media-object.vala |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/librygel-server/rygel-media-object.vala b/src/librygel-server/rygel-media-object.vala
index 787d77f..1e577b5 100644
--- a/src/librygel-server/rygel-media-object.vala
+++ b/src/librygel-server/rygel-media-object.vala
@@ -171,10 +171,10 @@ public abstract class Rygel.MediaObject : GLib.Object {
             var writer = new DIDLLiteWriter (null);
             var didl_object = this.serialize (writer, http_server);
 
-            result = didl_object.apply_fragments (current_fragments.to_array (),
-                                                  current_fragments.size,
-                                                  new_fragments.to_array (),
-                                                  new_fragments.size);
+            result = didl_object.apply_fragments
+                                        (current_fragments.to_array (),
+                                         new_fragments.to_array ());
+
             if (result == DIDLLiteFragmentResult.OK) {
                 this.apply_didl_lite (didl_object);
             }



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