aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-20 09:02:55 -0600
committercharles kerr <charlesk@canonical.com>2015-12-20 09:02:55 -0600
commitcfa2ff68cf0664c0d147e5a3792e8bd1f95be5d5 (patch)
treea66c814caecef0ccbda0cb9c70a3c6de1c894ba5 /src
parenta5d0e139cbd332419d2e82f45e8656462e39d029 (diff)
downloadayatana-indicator-sound-cfa2ff68cf0664c0d147e5a3792e8bd1f95be5d5.tar.gz
ayatana-indicator-sound-cfa2ff68cf0664c0d147e5a3792e8bd1f95be5d5.tar.bz2
ayatana-indicator-sound-cfa2ff68cf0664c0d147e5a3792e8bd1f95be5d5.zip
set options.max_volume's default value to 1.0
this fixes the notifications-tests unit tests.
Diffstat (limited to 'src')
-rw-r--r--src/options.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.vala b/src/options.vala
index 5e43025..3005cf5 100644
--- a/src/options.vala
+++ b/src/options.vala
@@ -22,7 +22,7 @@ public abstract class IndicatorSound.Options : Object
{
// MAX VOLUME
- public virtual double max_volume { get; protected set; }
+ public double max_volume { get; protected set; default = 1.0; }
// LOUD