diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2011-01-23 14:10:10 +0100 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2011-01-23 14:10:10 +0100 |
commit | 411333bed0e020e1725e3dd48afdc57e41fd1b93 (patch) | |
tree | 08ecdf8ce580377f54f5cee036ecf25966bc2b73 /src/indicator-sound.h | |
parent | 9eef471b5d0f8cbfa298e607c2ddf8300623a06d (diff) | |
download | ayatana-indicator-sound-411333bed0e020e1725e3dd48afdc57e41fd1b93.tar.gz ayatana-indicator-sound-411333bed0e020e1725e3dd48afdc57e41fd1b93.tar.bz2 ayatana-indicator-sound-411333bed0e020e1725e3dd48afdc57e41fd1b93.zip |
use update_state_from_volume instead of determine_state_from_volume
And make determine_state_from_volume return the state for the selected
value
Diffstat (limited to 'src/indicator-sound.h')
-rw-r--r-- | src/indicator-sound.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-sound.h b/src/indicator-sound.h index 9f829bb..7bf69b6 100644 --- a/src/indicator-sound.h +++ b/src/indicator-sound.h @@ -53,7 +53,7 @@ struct _IndicatorSound { GType indicator_sound_get_type (void); void prepare_state_machine(); -extern void determine_state_from_volume(gdouble volume_percent); +extern void update_state_from_volume(gdouble volume_percent); gint get_state(); gchar* get_state_image_name(gint state); void prepare_for_tests(IndicatorObject * io); |