[rygel/wip/gobject] core, server, renderer: Chain up constructed calls.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/gobject] core, server, renderer: Chain up constructed calls.
- Date: Wed, 16 Jan 2013 10:20:39 +0000 (UTC)
commit 318146e9e49feba5f4bc1161c39ac7fe57460ae6
Author: Krzesimir Nowak <krnowak openismus com>
Date: Wed Jan 16 11:18:25 2013 +0100
core,server,renderer: Chain up constructed calls.
src/librygel-core/rygel-connection-manager.vala | 2 ++
src/librygel-core/rygel-media-device.vala | 2 ++
.../rygel-recursive-module-loader.vala | 1 +
src/librygel-core/rygel-root-device.vala | 2 ++
src/librygel-renderer/rygel-av-transport.vala | 1 +
src/librygel-renderer/rygel-player-controller.vala | 2 ++
src/librygel-renderer/rygel-rendering-control.vala | 2 ++
src/librygel-server/rygel-content-directory.vala | 2 ++
.../rygel-media-receiver-registrar.vala | 2 ++
9 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-core/rygel-connection-manager.vala b/src/librygel-core/rygel-connection-manager.vala
index bbf0970..75f1aed 100644
--- a/src/librygel-core/rygel-connection-manager.vala
+++ b/src/librygel-core/rygel-connection-manager.vala
@@ -43,6 +43,8 @@ public class Rygel.ConnectionManager : Service {
protected string direction;
public override void constructed () {
+ base.constructed ();
+
this.sink_protocol_info = "";
this.source_protocol_info = "";
this.connection_ids = "0";
diff --git a/src/librygel-core/rygel-media-device.vala b/src/librygel-core/rygel-media-device.vala
index e6a2d5b..38bb1fa 100644
--- a/src/librygel-core/rygel-media-device.vala
+++ b/src/librygel-core/rygel-media-device.vala
@@ -49,6 +49,8 @@ public abstract class Rygel.MediaDevice : Object {
}
public override void constructed () {
+ base.constructed ();
+
this.manager = ContextManager.create (0);
this.manager.context_available.connect (this.on_context_available);
this.manager.context_unavailable.connect (this.on_context_unavailable);
diff --git a/src/librygel-core/rygel-recursive-module-loader.vala b/src/librygel-core/rygel-recursive-module-loader.vala
index 7a12ae8..5cb6e33 100644
--- a/src/librygel-core/rygel-recursive-module-loader.vala
+++ b/src/librygel-core/rygel-recursive-module-loader.vala
@@ -53,6 +53,7 @@ public abstract class Rygel.RecursiveModuleLoader : Object {
}
public override void constructed () {
+ base.constructed ();
this.done = false;
}
diff --git a/src/librygel-core/rygel-root-device.vala b/src/librygel-core/rygel-root-device.vala
index e9b58f5..b0c1601 100644
--- a/src/librygel-core/rygel-root-device.vala
+++ b/src/librygel-core/rygel-root-device.vala
@@ -53,6 +53,8 @@ public class Rygel.RootDevice: GUPnP.RootDevice {
}
public override void constructed () {
+ base.constructed ();
+
this.services = new ArrayList<ServiceInfo> ();
var plugin = this.resource_factory as Plugin;
diff --git a/src/librygel-renderer/rygel-av-transport.vala b/src/librygel-renderer/rygel-av-transport.vala
index 833cb7d..215e65b 100644
--- a/src/librygel-renderer/rygel-av-transport.vala
+++ b/src/librygel-renderer/rygel-av-transport.vala
@@ -106,6 +106,7 @@ internal class Rygel.AVTransport : Service {
private PlayerController controller;
public override void constructed () {
+ base.constructed ();
var plugin = this.root_device.resource_factory as MediaRendererPlugin;
this.changelog = new ChangeLog (this, LAST_CHANGE_NS);
diff --git a/src/librygel-renderer/rygel-player-controller.vala b/src/librygel-renderer/rygel-player-controller.vala
index f453d7a..9aec132 100644
--- a/src/librygel-renderer/rygel-player-controller.vala
+++ b/src/librygel-renderer/rygel-player-controller.vala
@@ -131,6 +131,8 @@ internal class Rygel.PlayerController : Object {
}
public override void constructed () {
+ base.constructed ();
+
this.player.notify["playback-state"].connect (this.notify_state_cb);
this.config = MetaConfig.get_default ();
diff --git a/src/librygel-renderer/rygel-rendering-control.vala b/src/librygel-renderer/rygel-rendering-control.vala
index 0b3da91..65415ea 100644
--- a/src/librygel-renderer/rygel-rendering-control.vala
+++ b/src/librygel-renderer/rygel-rendering-control.vala
@@ -78,6 +78,8 @@ internal class Rygel.RenderingControl : Service {
private MediaPlayer player;
public override void constructed () {
+ base.constructed ();
+
this.changelog = new ChangeLog (this, LAST_CHANGE_NS);
this.player = this.get_player ();
diff --git a/src/librygel-server/rygel-content-directory.vala b/src/librygel-server/rygel-content-directory.vala
index 5fe6bb8..0f9e396 100644
--- a/src/librygel-server/rygel-content-directory.vala
+++ b/src/librygel-server/rygel-content-directory.vala
@@ -85,6 +85,8 @@ internal class Rygel.ContentDirectory: Service {
private string search_caps;
public override void constructed () {
+ base.constructed ();
+
this.cancellable = new Cancellable ();
var plugin = this.root_device.resource_factory as MediaServerPlugin;
diff --git a/src/librygel-server/rygel-media-receiver-registrar.vala b/src/librygel-server/rygel-media-receiver-registrar.vala
index aeb6a7b..73ecd4f 100644
--- a/src/librygel-server/rygel-media-receiver-registrar.vala
+++ b/src/librygel-server/rygel-media-receiver-registrar.vala
@@ -39,6 +39,8 @@ internal class Rygel.MediaReceiverRegistrar: Service {
"xml/X_MS_MediaReceiverRegistrar1.xml";
public override void constructed () {
+ base.constructed ();
+
this.action_invoked["IsAuthorized"].connect (this.is_authorized_cb);
this.action_invoked["IsValidated"].connect (this.is_authorized_cb);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]