From 33b1c8824b89b207a1b8b0967094da782d85727a Mon Sep 17 00:00:00 2001 From: charles kerr Date: Tue, 29 Dec 2015 17:59:17 -0600 Subject: remove unused property Notification.visible --- src/notification.vala | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/notification.vala b/src/notification.vala index a652536..0fa91ef 100644 --- a/src/notification.vala +++ b/src/notification.vala @@ -19,8 +19,6 @@ public abstract class IndicatorSound.Notification: Object { - public bool visible { get; protected set; default = false; } - public Notification () { BusWatcher.watch_namespace (GLib.BusType.SESSION, "org.freedesktop.Notifications", @@ -28,9 +26,6 @@ public abstract class IndicatorSound.Notification: Object () => { debug("Notifications name vanshed"); _server_caps = null; }); _notification = create_notification (); - _notification.closed.connect((n) => { - visible = false; - }); } public void close() { @@ -56,7 +51,6 @@ public abstract class IndicatorSound.Notification: Object protected void show_notification () { try { _notification.show (); - visible = true; } catch (GLib.Error e) { GLib.warning ("Unable to show notification: %s", e.message); } -- cgit v1.2.3