summaryrefslogtreecommitdiffstats
path: root/x11/gnome-applets/files/patch-mixer_applet.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-applets/files/patch-mixer_applet.c')
-rw-r--r--x11/gnome-applets/files/patch-mixer_applet.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/gnome-applets/files/patch-mixer_applet.c b/x11/gnome-applets/files/patch-mixer_applet.c
new file mode 100644
index 000000000..d7c0eb517
--- /dev/null
+++ b/x11/gnome-applets/files/patch-mixer_applet.c
@@ -0,0 +1,11 @@
+--- mixer/applet.c.orig Mon Nov 7 09:53:52 2005
++++ mixer/applet.c Mon Nov 28 01:16:50 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] = lrint (volume);
++ volumes[n] = (int) rint (volume);
+ gst_mixer_set_volume (mixer, track, volumes);
+ g_free (volumes);
+ }