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/warn-notification.vala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/warn-notification.vala') diff --git a/src/warn-notification.vala b/src/warn-notification.vala index fb5b613..53f5140 100644 --- a/src/warn-notification.vala +++ b/src/warn-notification.vala @@ -38,7 +38,6 @@ public class IndicatorSound.WarnNotification: Notification } public bool show() { - close(); if (!notify_server_supports("actions")) return false; @@ -51,7 +50,7 @@ public class IndicatorSound.WarnNotification: Notification user_responded(Response.CANCEL); }); GLib.message("showing warning dialog"); - show_(); + show_.begin(); return true; } -- cgit v1.2.3