aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-29 17:59:17 -0600
committercharles kerr <charlesk@canonical.com>2015-12-29 17:59:17 -0600
commit33b1c8824b89b207a1b8b0967094da782d85727a (patch)
treea0b53c917f1acd497ba9c3c51f712ca78fa4197e /src
parent641dcb108b988f224e0d36b7837f2a4b8ca554cb (diff)
downloadayatana-indicator-sound-33b1c8824b89b207a1b8b0967094da782d85727a.tar.gz
ayatana-indicator-sound-33b1c8824b89b207a1b8b0967094da782d85727a.tar.bz2
ayatana-indicator-sound-33b1c8824b89b207a1b8b0967094da782d85727a.zip
remove unused property Notification.visible
Diffstat (limited to 'src')
-rw-r--r--src/notification.vala6
1 files changed, 0 insertions, 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);
}