aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@ubuntu.com>2017-10-23 01:35:25 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-23 01:35:25 +0200
commit85e29a3d433bfb744024a58b554a378ac99bfdb3 (patch)
tree3c848b21bd2727f11ec064a89be2d99991ac72b2
parent13525d7b0451f0a9ca7b73e83e2f374fbfb7c1bc (diff)
downloadayatana-indicator-sound-85e29a3d433bfb744024a58b554a378ac99bfdb3.tar.gz
ayatana-indicator-sound-85e29a3d433bfb744024a58b554a378ac99bfdb3.tar.bz2
ayatana-indicator-sound-85e29a3d433bfb744024a58b554a378ac99bfdb3.zip
Fix build with vala 0.36.
-rw-r--r--src/media-player-mpris.vala2
-rw-r--r--src/volume-control-pulse.vala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/media-player-mpris.vala b/src/media-player-mpris.vala
index 93ce34e..1b9dba5 100644
--- a/src/media-player-mpris.vala
+++ b/src/media-player-mpris.vala
@@ -66,7 +66,7 @@ public class MediaPlayerMpris: MediaPlayer {
}
public override string state {
- get; private set; default = "Paused";
+ get; set; default = "Paused";
}
public override MediaPlayer.Track? current_track {
diff --git a/src/volume-control-pulse.vala b/src/volume-control-pulse.vala
index 15b2cf0..de22d81 100644
--- a/src/volume-control-pulse.vala
+++ b/src/volume-control-pulse.vala
@@ -58,7 +58,7 @@ public class VolumeControlPulse : VolumeControl
private bool _source_sink_mic_activated = false;
/** true when a microphone is active **/
- public override bool active_mic { get; private set; default = false; }
+ public override bool active_mic { get; set; default = false; }
public VolumeControlPulse (IndicatorSound.Options options, PulseAudio.GLibMainLoop loop, AccountsServiceAccess? accounts_service_access)
{