aboutsummaryrefslogtreecommitdiff
path: root/src/service.vala
diff options
context:
space:
mode:
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);
}
}