[rygel] A workaround for unknown array length



commit acf50307c71a28467439b8bea11e0d38b0061bce
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri May 8 17:47:26 2009 +0300

    A workaround for unknown array length
---
 src/plugins/external/rygel-external-item.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/plugins/external/rygel-external-item.vala b/src/plugins/external/rygel-external-item.vala
index 5b1329b..eaaa927 100644
--- a/src/plugins/external/rygel-external-item.vala
+++ b/src/plugins/external/rygel-external-item.vala
@@ -69,7 +69,7 @@ public class Rygel.ExternalItem : MediaItem {
         this.mime_type = value.get_string ();
 
         props.Get (ITEM_IFACE, "urls", out value);
-        string[] uris = (string[]) value.get_boxed ();
+        weak string[] uris = (string[]) value.get_boxed ();
 
         foreach (var uri in uris) {
             this.uris.add (uri);



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