From 411333bed0e020e1725e3dd48afdc57e41fd1b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Sun, 23 Jan 2011 14:10:10 +0100 Subject: use update_state_from_volume instead of determine_state_from_volume And make determine_state_from_volume return the state for the selected value --- src/indicator-sound.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/indicator-sound.h') 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); -- cgit v1.2.3