rygel r288 - in trunk: . src/media-server



Author: zeeshanak
Date: Tue Nov 11 18:24:44 2008
New Revision: 288
URL: http://svn.gnome.org/viewvc/rygel?rev=288&view=rev

Log:
Override GLib.Object.constructed() instead of using 'construct' keyword.

Modified:
   trunk/ChangeLog
   trunk/src/media-server/rygel-connection-manager.vala
   trunk/src/media-server/rygel-content-directory.vala
   trunk/src/media-server/rygel-media-receiver-registrar.vala

Modified: trunk/src/media-server/rygel-connection-manager.vala
==============================================================================
--- trunk/src/media-server/rygel-connection-manager.vala	(original)
+++ trunk/src/media-server/rygel-connection-manager.vala	Tue Nov 11 18:24:44 2008
@@ -32,7 +32,7 @@
     private string sink_protocol_info;
     private string connection_ids;
 
-    construct {
+    public override void constructed () {
         this.sink_protocol_info   = "";
         this.connection_ids       = "0";
         this.source_protocol_info = "http-get:*:*:*";

Modified: trunk/src/media-server/rygel-content-directory.vala
==============================================================================
--- trunk/src/media-server/rygel-content-directory.vala	(original)
+++ trunk/src/media-server/rygel-content-directory.vala	Tue Nov 11 18:24:44 2008
@@ -33,7 +33,7 @@
 
     MediaManager media_manager;
 
-    construct {
+    public override void constructed () {
         this.media_manager = new MediaManager (this.context);
 
         this.didl_writer = new DIDLLiteWriter ();

Modified: trunk/src/media-server/rygel-media-receiver-registrar.vala
==============================================================================
--- trunk/src/media-server/rygel-media-receiver-registrar.vala	(original)
+++ trunk/src/media-server/rygel-media-receiver-registrar.vala	Tue Nov 11 18:24:44 2008
@@ -26,7 +26,7 @@
 
 public class Rygel.MediaReceiverRegistrar: Service {
 
-    construct {
+    public override void constructed () {
         this.action_invoked["IsAuthorized"] += this.is_authorized_cb;
         this.action_invoked["IsValidated"] += this.is_authorized_cb;
         this.action_invoked["RegisterDevice"] += this.register_device_cb;



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