[rygel] renderer: Fix criticals on start
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] renderer: Fix criticals on start
- Date: Wed, 10 Sep 2014 21:07:04 +0000 (UTC)
commit 5aa16ea375c91b9f41997413e80de2c1753e38ce
Author: Jens Georg <mail jensge org>
Date: Sun Aug 24 12:31:05 2014 +0200
renderer: Fix criticals on start
Signed-off-by: Jens Georg <mail jensge org>
.../rygel-default-player-controller.vala | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-default-player-controller.vala
b/src/librygel-renderer/rygel-default-player-controller.vala
index 93ff541..8c2bd24 100644
--- a/src/librygel-renderer/rygel-default-player-controller.vala
+++ b/src/librygel-renderer/rygel-default-player-controller.vala
@@ -64,7 +64,7 @@ internal class Rygel.DefaultPlayerController : Rygel.PlayerController, Object {
[CCode (notify = false)]
public uint n_tracks {
get { return this._n_tracks; }
- private set {
+ protected set {
if (value != this._n_tracks) {
this._n_tracks = value;
this.notify_property ("n-tracks");
@@ -86,8 +86,8 @@ internal class Rygel.DefaultPlayerController : Rygel.PlayerController, Object {
default = 0;
}
- public string uri { owned get; private set; default = ""; }
- public string metadata { owned get; private set; default = ""; }
+ public string uri { owned get; protected set; default = ""; }
+ public string metadata { owned get; protected set; default = ""; }
[CCode (notify = false)]
public string track_uri {
@@ -99,7 +99,7 @@ internal class Rygel.DefaultPlayerController : Rygel.PlayerController, Object {
}
}
- private set {
+ protected set {
this.player.uri = value;
}
}
@@ -108,7 +108,7 @@ internal class Rygel.DefaultPlayerController : Rygel.PlayerController, Object {
public string track_metadata {
owned get { return this.player.metadata ?? ""; }
- private set {
+ protected set {
if (value.has_prefix ("<")) {
this.player.metadata = this.unescape (value);
} else {
@@ -117,8 +117,8 @@ internal class Rygel.DefaultPlayerController : Rygel.PlayerController, Object {
}
}
- public string next_uri { owned get; private set; default = ""; }
- public string next_metadata { owned get; private set; default = ""; }
+ public string next_uri { owned get; protected set; default = ""; }
+ public string next_metadata { owned get; protected set; default = ""; }
public string current_transport_actions {
owned get {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]