aboutsummaryrefslogtreecommitdiff
path: root/src/service.vala
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-28 15:56:44 -0600
committercharles kerr <charlesk@canonical.com>2015-12-28 15:56:44 -0600
commit6f553929ea723c0ab3d050807f4770924e23885c (patch)
treebddebcae219be652ed3fedf51438f181157ea0e3 /src/service.vala
parente63ae571f56a93fce240f20d224bd356aa18a28b (diff)
downloadayatana-indicator-sound-6f553929ea723c0ab3d050807f4770924e23885c.tar.gz
ayatana-indicator-sound-6f553929ea723c0ab3d050807f4770924e23885c.tar.bz2
ayatana-indicator-sound-6f553929ea723c0ab3d050807f4770924e23885c.zip
remove earlier unneeded tracers
Diffstat (limited to 'src/service.vala')
-rw-r--r--src/service.vala8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/service.vala b/src/service.vala
index 1e611b8..9a646a5 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -148,11 +148,9 @@ public class IndicatorSound.Service: Object {
return_if_fail (n != null);
if (n.id != 0) {
try {
- GLib.message("calling n.close()");
n.close();
- GLib.message("done calling n.close()");
} catch (GLib.Error e) {
- warning("Unable to close notification: %s", e.message);
+ GLib.warning("Unable to close notification: %s", e.message);
}
}
}
@@ -160,11 +158,9 @@ public class IndicatorSound.Service: Object {
private void show_notification(Notify.Notification? n) {
return_if_fail (n != null);
try {
- GLib.message("calling n.show()");
n.show ();
- GLib.message("done calling n.show()");
} catch (GLib.Error e) {
- warning ("Unable to show notification: %s", e.message);
+ GLib.warning ("Unable to show notification: %s", e.message);
}
}