aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-27 01:04:55 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-27 01:04:55 +0000
commitbc4bedc29d859040bc6ba052a5212a14a15c3578 (patch)
treebc71e62c8e941975501d4f1636cedcfb0d44544d
parentdc8b22172f1caaafccfe35e2b85d159d388dad1b (diff)
downloadayatana-indicator-sound-bc4bedc29d859040bc6ba052a5212a14a15c3578.tar.gz
ayatana-indicator-sound-bc4bedc29d859040bc6ba052a5212a14a15c3578.tar.bz2
ayatana-indicator-sound-bc4bedc29d859040bc6ba052a5212a14a15c3578.zip
Suppress warning about 'static const'.
-rw-r--r--src/options-gsettings.vala10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/options-gsettings.vala b/src/options-gsettings.vala
index 39d3c83..a0aef26 100644
--- a/src/options-gsettings.vala
+++ b/src/options-gsettings.vala
@@ -38,9 +38,9 @@ public class IndicatorSound.OptionsGSettings : Options
#endif
/** MAX VOLUME PROPERTY **/
- private static const string AMP_dB_KEY = "amplified-volume-decibels";
- private static const string NORMAL_dB_KEY = "normal-volume-decibels";
- private static const string ALLOW_AMP_KEY = "allow-amplified-volume";
+ private const string AMP_dB_KEY = "amplified-volume-decibels";
+ private const string NORMAL_dB_KEY = "normal-volume-decibels";
+ private const string ALLOW_AMP_KEY = "allow-amplified-volume";
private void init_max_volume() {
_settings.changed[NORMAL_dB_KEY].connect(() => update_max_volume());
@@ -69,8 +69,8 @@ public class IndicatorSound.OptionsGSettings : Options
/** LOUD VOLUME **/
- private static const string LOUD_ENABLED_KEY = "warning-volume-enabled";
- private static const string LOUD_DECIBEL_KEY = "warning-volume-decibels";
+ private const string LOUD_ENABLED_KEY = "warning-volume-enabled";
+ private const string LOUD_DECIBEL_KEY = "warning-volume-decibels";
private void init_loud_volume() {
_settings.changed[LOUD_ENABLED_KEY].connect(() => update_loud_volume());