aboutsummaryrefslogtreecommitdiff
path: root/tests/volume-control-mock.vala
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-19 22:14:31 -0600
committercharles kerr <charlesk@canonical.com>2015-12-19 22:14:31 -0600
commitf008f077e6978c99ba9548eda26ac29c073a46a8 (patch)
treeaff23ac2f067fb17d30ca004500b1c4f18dfcc6a /tests/volume-control-mock.vala
parentcdc14fd12e145a775f7f103125f4624947ac4d95 (diff)
downloadayatana-indicator-sound-f008f077e6978c99ba9548eda26ac29c073a46a8.tar.gz
ayatana-indicator-sound-f008f077e6978c99ba9548eda26ac29c073a46a8.tar.bz2
ayatana-indicator-sound-f008f077e6978c99ba9548eda26ac29c073a46a8.zip
remove 'is-playing' property from volume-warning
Diffstat (limited to 'tests/volume-control-mock.vala')
-rw-r--r--tests/volume-control-mock.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/volume-control-mock.vala b/tests/volume-control-mock.vala
index 7f958b2..d67a9db 100644
--- a/tests/volume-control-mock.vala
+++ b/tests/volume-control-mock.vala
@@ -30,8 +30,7 @@ public class VolumeControlMock : VolumeControl
public override bool active_mic { get; set; }
public bool mock_mute { get; set; }
public override bool mute { get { return mock_mute; } }
- public bool mock_is_playing { get; set; }
- public override bool is_playing { get { return mock_is_playing; } }
+ public void mock_set_is_playing(bool b) { is_playing = b; }
private VolumeControl.Volume _vol = new VolumeControl.Volume();
public override VolumeControl.Volume volume { get { return _vol; } set { _vol = value; }}
public override double mic_volume { get; set; }