From 0fe4ec98a470a992eee9f8ed7e404fe767a82076 Mon Sep 17 00:00:00 2001 From: Xavi Garcia Mena Date: Mon, 29 Feb 2016 14:33:14 +0100 Subject: Accounts service notification fix --- src/accounts-service-access.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/accounts-service-access.vala') diff --git a/src/accounts-service-access.vala b/src/accounts-service-access.vala index fb15700..eebd87d 100644 --- a/src/accounts-service-access.vala +++ b/src/accounts-service-access.vala @@ -95,7 +95,7 @@ public class AccountsServiceAccess : Object Variant volume_variant = changed_properties.lookup_value ("Volume", VariantType.DOUBLE); if (volume_variant != null) { var volume = volume_variant.get_double (); - if (volume >= 0) { + if (volume >= 0 && _volume != volume) { _volume = volume; this.notify_property("volume"); } -- cgit v1.2.3