diff options
author | Ted Gould <ted@gould.cx> | 2014-03-20 15:58:44 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2014-03-20 15:58:44 -0500 |
commit | 6ebc8b959ae45538e04d6831c94779b5c0c3d58e (patch) | |
tree | a00f37b2e3bbcd6cbce1d1972d33d5223c938ee2 | |
parent | 61d3328c1a41b3704db9e96c8f9a27b42e649aca (diff) | |
download | ayatana-indicator-sound-6ebc8b959ae45538e04d6831c94779b5c0c3d58e.tar.gz ayatana-indicator-sound-6ebc8b959ae45538e04d6831c94779b5c0c3d58e.tar.bz2 ayatana-indicator-sound-6ebc8b959ae45538e04d6831c94779b5c0c3d58e.zip |
Backport the timer patch
-rw-r--r-- | src/accounts-service-user.vala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/accounts-service-user.vala b/src/accounts-service-user.vala index e18e20f..92c972d 100644 --- a/src/accounts-service-user.vala +++ b/src/accounts-service-user.vala @@ -115,6 +115,11 @@ public class AccountsServiceUser : Object { ~AccountsServiceUser () { this.player = null; + + if (this.timer != 0) { + GLib.Source.remove(this.timer); + this.timer = 0; + } } void new_proxy (GLib.Object? obj, AsyncResult res) { |