From b6aa1e4df3ee75981444e16c418a2aa5828ccb97 Mon Sep 17 00:00:00 2001 From: charles kerr Date: Mon, 21 Dec 2015 17:26:21 -0600 Subject: make notification calls async --- src/notification.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/notification.vala') 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); -- cgit v1.2.3