diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-10-16 16:49:28 +0200 |
---|---|---|
committer | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-10-16 16:49:28 +0200 |
commit | cc77ef3dd05a0e52a74b1ac073b95bd041a2f0d1 (patch) | |
tree | 4ba60cd4ef84b3b5b890dd94e5575a09b4254dd8 /src | |
parent | 6d4dec654f47a3628d7d79f8fae494950518d236 (diff) | |
download | ayatana-indicator-sound-cc77ef3dd05a0e52a74b1ac073b95bd041a2f0d1.tar.gz ayatana-indicator-sound-cc77ef3dd05a0e52a74b1ac073b95bd041a2f0d1.tar.bz2 ayatana-indicator-sound-cc77ef3dd05a0e52a74b1ac073b95bd041a2f0d1.zip |
Fixed race condition connection to the Notifications interface
Diffstat (limited to 'src')
-rw-r--r-- | src/service.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.vala b/src/service.vala index 8b08dc0..65d5943 100644 --- a/src/service.vala +++ b/src/service.vala @@ -43,7 +43,7 @@ public class IndicatorSound.Service: Object { warn_notification.closed.connect((n) => { n.clear_actions(); }); BusWatcher.watch_namespace (GLib.BusType.SESSION, "org.freedesktop.Notifications", - () => { debug("Notifications name appeared"); notify_server_caps_checked = false; }, + () => { debug("Notifications name appeared"); }, () => { debug("Notifications name vanshed"); notify_server_caps_checked = false; }); this.settings = new Settings ("com.canonical.indicator.sound"); |