rygel r384 - trunk/src/plugins/dvb



Author: zeeshanak
Date: Thu Dec 25 12:01:06 2008
New Revision: 384
URL: http://svn.gnome.org/viewvc/rygel?rev=384&view=rev

Log:
Correct the leaky hack to initialize DIDLLiteResource fields.

Modified:
   trunk/src/plugins/dvb/rygel-dvb-channel.vala

Modified: trunk/src/plugins/dvb/rygel-dvb-channel.vala
==============================================================================
--- trunk/src/plugins/dvb/rygel-dvb-channel.vala	(original)
+++ trunk/src/plugins/dvb/rygel-dvb-channel.vala	Thu Dec 25 12:01:06 2008
@@ -67,7 +67,8 @@
 
         // FIXME: (Leaky) Hack to assign the string to weak fields
         string uri = this.channel_list.GetChannelURL (cid);
-        this.res.uri = (string *) uri;
+        string *uri_ptr = #uri;
+        this.res.uri = uri_ptr;
     }
 }
 



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