aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-sound.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-08-24 17:59:15 +0100
committerConor Curran <conor.curran@canonical.com>2010-08-24 17:59:15 +0100
commit5c225cc9608267ce25d599c279271eb5b7ee7a19 (patch)
tree547bd11cfb363a8b4f4ff68d986c425fd348ae40 /src/indicator-sound.c
parent6c2b00b21e60c5b667bb3d82639190af58d3c847 (diff)
parentfeed9f62a8779febde16e4f4461967a2b2a33e72 (diff)
downloadayatana-indicator-sound-5c225cc9608267ce25d599c279271eb5b7ee7a19.tar.gz
ayatana-indicator-sound-5c225cc9608267ce25d599c279271eb5b7ee7a19.tar.bz2
ayatana-indicator-sound-5c225cc9608267ce25d599c279271eb5b7ee7a19.zip
merged the UI polishes, more to follow ...
Diffstat (limited to 'src/indicator-sound.c')
-rw-r--r--src/indicator-sound.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index 3a7abe9..63ad72d 100644
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -375,8 +375,6 @@ connection_changed (IndicatorServiceManager * sm, gboolean connected, gpointer u
g_return_if_fail(IS_INDICATOR_SOUND(userdata));
- // Ensure we are in a coherent state with the service at start up.
- // Preserve ordering!
}
}
return;
@@ -464,12 +462,7 @@ tidy_up_hash()
static void
update_state(const gint state)
{
- /* g_debug("update state beginning - previous_state = %i", previous_state);*/
-
previous_state = current_state;
-
- /* g_debug("update state 3rd line - previous_state = %i", previous_state);*/
-
current_state = state;
gchar* image_name = g_hash_table_lookup(volume_states, GINT_TO_POINTER(current_state));
indicator_image_helper_update(speaker_image, image_name);
@@ -479,7 +472,6 @@ update_state(const gint state)
void
determine_state_from_volume(gdouble volume_percent)
{
- /* g_debug("determine_state_from_volume - previous_state = %i", previous_state);*/
if (device_available == FALSE)
return;
gint state = previous_state;