aboutsummaryrefslogtreecommitdiff
path: root/src/pulse-manager.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-02-03 22:02:41 -0800
committerConor Curran <conor.curran@canonical.com>2010-02-03 22:02:41 -0800
commit60ea7aa0f6219a69d05b658cba562d1e2c6104e2 (patch)
tree30107d5272dc0eb1226e314b5f160899059a6e97 /src/pulse-manager.c
parent54209010fc5b99fd7074ae1271cfea86abaea5c6 (diff)
downloadayatana-indicator-sound-60ea7aa0f6219a69d05b658cba562d1e2c6104e2.tar.gz
ayatana-indicator-sound-60ea7aa0f6219a69d05b658cba562d1e2c6104e2.tar.bz2
ayatana-indicator-sound-60ea7aa0f6219a69d05b658cba562d1e2c6104e2.zip
slider now works from the safe side of the dbusmenu
Diffstat (limited to 'src/pulse-manager.c')
-rw-r--r--src/pulse-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulse-manager.c b/src/pulse-manager.c
index 75fb08a..e563aca 100644
--- a/src/pulse-manager.c
+++ b/src/pulse-manager.c
@@ -25,9 +25,9 @@ static void destroy_sink_info(void *value);
Refine the resolution of the slider or binary scale it to achieve a more subtle volume control.
Use the base volume stored in the sink struct to calculate actual linear volumes.
*/
-void set_sink_volume(guint percent)
+void set_sink_volume(gdouble percent)
{
- g_debug("in the pulse manager:set_sink_volume with percent %i", percent);
+ g_debug("in the pulse manager:set_sink_volume with percent %f", percent);
if(DEFAULT_SINK_INDEX < 0)
{
g_warning("We have no default sink !!! - returning after not attempting to set any volume of any sink");