diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2015-08-11 16:42:58 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2015-08-11 16:42:58 -0500 |
commit | 93ed4338dc83fcae4a7c743452cf275d19d1d16c (patch) | |
tree | f1a10b27e5868ff94b305231ebbf49951d98ce53 /src/volume-control.vala | |
parent | 8118ed6a926ebfafdae84899e0b0dd1de23a479b (diff) | |
download | ayatana-indicator-sound-93ed4338dc83fcae4a7c743452cf275d19d1d16c.tar.gz ayatana-indicator-sound-93ed4338dc83fcae4a7c743452cf275d19d1d16c.tar.bz2 ayatana-indicator-sound-93ed4338dc83fcae4a7c743452cf275d19d1d16c.zip |
set the default value of max-volume to 1.0 so that tests behave nicely without explicitly having to set this value.
Diffstat (limited to 'src/volume-control.vala')
-rw-r--r-- | src/volume-control.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala index a30a373..4efa85f 100644 --- a/src/volume-control.vala +++ b/src/volume-control.vala @@ -42,7 +42,7 @@ public abstract class VolumeControl : Object private Volume _volume; public virtual Volume volume { get { return _volume; } set { } } public virtual double mic_volume { get { return 0.0; } set { } } - public virtual double max_volume { get; set; } + public virtual double max_volume { get { return 1.0; } protected set { } } public virtual bool high_volume_approved { get { return false; } protected set { } } public virtual void approve_high_volume() { } |