aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/volume-control.vala')
-rw-r--r--src/volume-control.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala
index aee670e..0541397 100644
--- a/src/volume-control.vala
+++ b/src/volume-control.vala
@@ -587,7 +587,7 @@ public class VolumeControl : Object
_notification.update (_("Volume"), "", "audio-volume-medium");
if (volume > 0.66 && volume <= 1.0)
_notification.update (_("Volume"), "", "audio-volume-high");
- _notification.set_hint ("value", volume * 100.0);
+ _notification.set_hint ("value", (int32)(volume * 100.0));
if (_active_sink_input == -1 || _valid_roles[_active_sink_input] != "multimedia") {
/* No audio ping if we're playing multimedia */
_notification.set_hint ("sound-file", "/usr/share/sounds/ubuntu/stereo/message.ogg");