aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control.vala
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-28 17:29:40 -0600
committercharles kerr <charlesk@canonical.com>2015-12-28 17:29:40 -0600
commit19cad1422f52e9b344cca17b33f9130aae937a1a (patch)
tree0e3e3553afbfa9d879eb958da6e2434577a2b7c2 /src/volume-control.vala
parent2c13e51f5a639d5804f722216c1e036d469e59a1 (diff)
downloadayatana-indicator-sound-19cad1422f52e9b344cca17b33f9130aae937a1a.tar.gz
ayatana-indicator-sound-19cad1422f52e9b344cca17b33f9130aae937a1a.tar.bz2
ayatana-indicator-sound-19cad1422f52e9b344cca17b33f9130aae937a1a.zip
remove unused field VolumeControl.pre_clamp_volume
Diffstat (limited to 'src/volume-control.vala')
-rw-r--r--src/volume-control.vala6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala
index d13bf31..59b3f8e 100644
--- a/src/volume-control.vala
+++ b/src/volume-control.vala
@@ -65,7 +65,6 @@ public abstract class VolumeControl : Object
public bool is_playing { get; protected set; default = false; }
public virtual VolumeControl.ActiveOutput active_output { get { return VolumeControl.ActiveOutput.SPEAKERS; } }
private Volume _volume;
- private double _pre_clamp_volume;
public virtual Volume volume { get { return _volume; } set { } }
public virtual double mic_volume { get { return 0.0; } set { } }
@@ -76,11 +75,6 @@ public abstract class VolumeControl : Object
v.volume = unclamped.clamp (0.0, _options.max_volume);
v.reason = reason;
this.volume = v;
- _pre_clamp_volume = unclamped;
- }
-
- public double get_pre_clamped_volume () {
- return _pre_clamp_volume;
}
public signal void active_output_changed (VolumeControl.ActiveOutput active_output);