summaryrefslogtreecommitdiff
path: root/mixer/dock.c
diff options
context:
space:
mode:
authorRonald Bultje <rbultje@src.gnome.org>2005-10-01 14:49:54 +0000
committerRonald Bultje <rbultje@src.gnome.org>2005-10-01 14:49:54 +0000
commit64c54c0582018812ec60a3e8b5b2b4e89b908927 (patch)
treeb36f5c6b88b3a3a4f526a2de88acd8a78fbe56bc /mixer/dock.c
parented1ebdcd1c9dd68f1da0054b73b2be0d5fa20a66 (diff)
Fix rounding errors for setting new volume after button-up or scroll-up.
* applet.c: (gnome_volume_applet_scroll), (gnome_volume_applet_adjust_volume), (cb_volume): * applet.h: * dock.c: (cb_timeout): Fix rounding errors for setting new volume after button-up or scroll-up. Fixes #316922.
Diffstat (limited to 'mixer/dock.c')
-rw-r--r--mixer/dock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mixer/dock.c b/mixer/dock.c
index 006697eba..df4370ae1 100644
--- a/mixer/dock.c
+++ b/mixer/dock.c
@@ -196,7 +196,7 @@ cb_timeout (gpointer data)
{
GnomeVolumeAppletDock *dock = data;
GtkAdjustment *adj;
- gint volume;
+ gfloat volume;
gboolean res = TRUE;
if (!dock->timeout)