diff options
author | charles kerr <charlesk@canonical.com> | 2015-12-31 11:11:46 -0600 |
---|---|---|
committer | charles kerr <charlesk@canonical.com> | 2015-12-31 11:11:46 -0600 |
commit | d122698e9d07abdb18564852171a8488511f43a0 (patch) | |
tree | 30589b0c1b1fff4fcf24ea4ebf458c3df4ab920f /tests/volume-warning-mock.vala | |
parent | 3216d99edcec8a8cfe4533983af4a26f2bb9fa36 (diff) | |
download | ayatana-indicator-sound-d122698e9d07abdb18564852171a8488511f43a0.tar.gz ayatana-indicator-sound-d122698e9d07abdb18564852171a8488511f43a0.tar.bz2 ayatana-indicator-sound-d122698e9d07abdb18564852171a8488511f43a0.zip |
rename VolumeWarning.high_volume_approved as VolumeWarning.approved
After being moved into a class named "VolumeWarning", the high_volume_
prefix was redunant.
Diffstat (limited to 'tests/volume-warning-mock.vala')
-rw-r--r-- | tests/volume-warning-mock.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/volume-warning-mock.vala b/tests/volume-warning-mock.vala index 0dcae50..f69688f 100644 --- a/tests/volume-warning-mock.vala +++ b/tests/volume-warning-mock.vala @@ -34,7 +34,7 @@ public class VolumeWarningMock : VolumeWarning public void set_multimedia_volume(PulseAudio.Volume val) { multimedia_volume = val; } - public void set_high_volume_approved(bool val) { high_volume_approved = val; } + public void set_approved(bool val) { approved = val; } - public bool is_high_volume_approved() { return high_volume_approved; } + public bool is_approved() { return approved; } } |