aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-01-06 17:37:21 +0000
committerTarmac <Unknown>2014-01-06 17:37:21 +0000
commita7bca00dc9644e3df9c0dc07e157e13a79a3235d (patch)
tree63d001ca5aff3605dfbb380035985f019ba8203c
parent661cd46b5a2c660272252b4886d71e1af8d7c2aa (diff)
parentfd665a067d925e0f8dbee57bd258688454f460fd (diff)
downloadayatana-indicator-sound-a7bca00dc9644e3df9c0dc07e157e13a79a3235d.tar.gz
ayatana-indicator-sound-a7bca00dc9644e3df9c0dc07e157e13a79a3235d.tar.bz2
ayatana-indicator-sound-a7bca00dc9644e3df9c0dc07e157e13a79a3235d.zip
Own the server capabilities so we clean it up.
Approved by Charles Kerr, PS Jenkins bot.
-rw-r--r--src/service.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.vala b/src/service.vala
index 5e7120c..25a7b18 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -48,7 +48,7 @@ public class IndicatorSound.Service {
});
if (settings.get_boolean ("show-notify-osd-on-scroll")) {
- unowned List<string> caps = Notify.get_server_caps ();
+ List<string> caps = Notify.get_server_caps ();
if (caps.find_custom ("x-canonical-private-synchronous", strcmp) != null) {
this.notification = new Notify.Notification ("indicator-sound", "", "");
this.notification.set_hint_string ("x-canonical-private-synchronous", "indicator-sound");