aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/volume-control.vala7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala
index 86b976e..dbc1797 100644
--- a/src/volume-control.vala
+++ b/src/volume-control.vala
@@ -594,7 +594,12 @@ public class VolumeControl : Object
} else {
_notification.set_hint ("sound-file", null);
}
- _notification.show ();
+
+ try {
+ _notification.show ();
+ } catch (GLib.Error e) {
+ warning("Unable to send volume change notification: %s", e.message);
+ }
}
if (set_volume_internal (volume)) {