diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2015-08-12 09:00:56 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2015-08-12 09:00:56 -0500 |
commit | a78a8c0394bf2d4050b3748e8e753a8935849879 (patch) | |
tree | d4aef979085a42225b8b3260d0e335d2fdb30a1e /src/volume-control.vala | |
parent | 6bfef752b163253821d6c967fabb8ca04c542fec (diff) | |
download | ayatana-indicator-sound-a78a8c0394bf2d4050b3748e8e753a8935849879.tar.gz ayatana-indicator-sound-a78a8c0394bf2d4050b3748e8e753a8935849879.tar.bz2 ayatana-indicator-sound-a78a8c0394bf2d4050b3748e8e753a8935849879.zip |
copyediting: make tabs use in the new code consistent with existing codebase
Diffstat (limited to 'src/volume-control.vala')
-rw-r--r-- | src/volume-control.vala | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala index 4efa85f..6efac35 100644 --- a/src/volume-control.vala +++ b/src/volume-control.vala @@ -46,14 +46,14 @@ public abstract class VolumeControl : Object public virtual bool high_volume_approved { get { return false; } protected set { } } public virtual void approve_high_volume() { } - public virtual void clamp_to_high_volume() { } + public virtual void clamp_to_high_volume() { } public abstract void set_mute (bool mute); - public void set_volume_clamp (double unclamped, VolumeControl.VolumeReasons reason) { - var v = new VolumeControl.Volume(); - v.volume = unclamped.clamp (0.0, this.max_volume); - v.reason = reason; - this.volume = v; - } + public void set_volume_clamp (double unclamped, VolumeControl.VolumeReasons reason) { + var v = new VolumeControl.Volume(); + v.volume = unclamped.clamp (0.0, this.max_volume); + v.reason = reason; + this.volume = v; + } } |