aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control.vala
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2014-03-03 18:22:03 -0500
committerMichael Terry <michael.terry@canonical.com>2014-03-03 18:22:03 -0500
commit0b3b6c5d2e66b5372df6a34ee2beb995e5c697e7 (patch)
tree1c06f9798db185ccd9cfd5568ee910cfd6928690 /src/volume-control.vala
parent882dcd9193224c8df467a6b95283d5e3f61d1841 (diff)
downloadayatana-indicator-sound-0b3b6c5d2e66b5372df6a34ee2beb995e5c697e7.tar.gz
ayatana-indicator-sound-0b3b6c5d2e66b5372df6a34ee2beb995e5c697e7.tar.bz2
ayatana-indicator-sound-0b3b6c5d2e66b5372df6a34ee2beb995e5c697e7.zip
Fix typo
Diffstat (limited to 'src/volume-control.vala')
-rw-r--r--src/volume-control.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala
index cb81f08..b9c6399 100644
--- a/src/volume-control.vala
+++ b/src/volume-control.vala
@@ -299,7 +299,7 @@ public class VolumeControl : Object
{
return_val_if_fail (context.get_state () == Context.State.READY, false);
- if (_volume == volume) {
+ if (_volume != volume) {
_volume = volume;
context.get_server_info (server_info_cb_for_set_volume);
return true;
@@ -347,7 +347,7 @@ public class VolumeControl : Object
return _mic_volume;
}
- /* accountsservice operations */
+ /* AccountsService operations */
private void accountsservice_props_changed_cb (DBusProxy proxy, Variant changed_properties, string[] invalidated_properties)
{
Variant volume_variant = changed_properties.lookup_value ("Volume", new VariantType ("d"));