aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/volume-control.vala')
-rw-r--r--src/volume-control.vala14
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;
+ }
}