aboutsummaryrefslogtreecommitdiff
path: root/x11/gnomeapplets2/files/patch-mixer_applet.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnomeapplets2/files/patch-mixer_applet.c')
-rw-r--r--x11/gnomeapplets2/files/patch-mixer_applet.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/gnomeapplets2/files/patch-mixer_applet.c b/x11/gnomeapplets2/files/patch-mixer_applet.c
new file mode 100644
index 000000000000..178c7d5a31a1
--- /dev/null
+++ b/x11/gnomeapplets2/files/patch-mixer_applet.c
@@ -0,0 +1,11 @@
+--- mixer/applet.c.orig Tue Oct 4 00:15:40 2005
++++ mixer/applet.c Tue Oct 4 00:16:09 2005
+@@ -953,7 +953,7 @@ gnome_volume_applet_adjust_volume (GstMi
+
+ volumes = g_new (gint, track->num_channels);
+ for (n = 0; n < track->num_channels; n++)
+- volumes[n] = lrintf (volume);
++ volumes[n] = (int)rint (volume);
+ gst_mixer_set_volume (mixer, track, volumes);
+ g_free (volumes);
+ }