aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/volume-control.vala')
-rw-r--r--src/volume-control.vala8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala
index ccc81d1..ebca606 100644
--- a/src/volume-control.vala
+++ b/src/volume-control.vala
@@ -522,13 +522,11 @@ public class VolumeControl : Object
bool local_volume_changed_timeout()
{
- if (_send_next_local_volume == true) {
+ _local_volume_timer = 0;
+ if (_send_next_local_volume) {
_send_next_local_volume = false;
-
- sync_volume_to_accountsservice.begin (_volume);
- return true; // G_SOURCE_CONTINUE
+ start_local_volume_timer();
}
- _local_volume_timer = 0;
return false; // G_SOURCE_REMOVE
}