aboutsummaryrefslogtreecommitdiff
path: root/src/notification.vala
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-21 17:26:21 -0600
committercharles kerr <charlesk@canonical.com>2015-12-21 17:26:21 -0600
commitb6aa1e4df3ee75981444e16c418a2aa5828ccb97 (patch)
tree039176a08a6f575025df5aa66fdd6240d79c4d4d /src/notification.vala
parentccb78ba3fe467462eaa182625f965483ce331299 (diff)
downloadayatana-indicator-sound-b6aa1e4df3ee75981444e16c418a2aa5828ccb97.tar.gz
ayatana-indicator-sound-b6aa1e4df3ee75981444e16c418a2aa5828ccb97.tar.bz2
ayatana-indicator-sound-b6aa1e4df3ee75981444e16c418a2aa5828ccb97.zip
make notification calls async
Diffstat (limited to 'src/notification.vala')
-rw-r--r--src/notification.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notification.vala b/src/notification.vala
index b8bad30..6a805ac 100644
--- a/src/notification.vala
+++ b/src/notification.vala
@@ -39,11 +39,11 @@ public abstract class IndicatorSound.Notification: Object
close();
}
- protected void show_() {
+ protected async void show_() {
try {
GLib.message("calling _notification.show");
_notification.show ();
- message("after calling show, n.id is %d", (int)_notification.id);
+ GLib.message("after calling show, n.id is %d", (int)_notification.id);
visible = true;
} catch (GLib.Error e) {
warning ("Unable to show notification: %s", e.message);