aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-08-04 11:55:27 +0100
committerConor Curran <conor.curran@canonical.com>2010-08-04 11:55:27 +0100
commitc161dea6be8043d5a4a543ffe1229253e46f02ea (patch)
tree0e281b4376af7d60a2d02607fdeb192987c548f0 /src
parent7beb889ea4838851ac5baeaecb30634855f43459 (diff)
downloadayatana-indicator-sound-c161dea6be8043d5a4a543ffe1229253e46f02ea.tar.gz
ayatana-indicator-sound-c161dea6be8043d5a4a543ffe1229253e46f02ea.tar.bz2
ayatana-indicator-sound-c161dea6be8043d5a4a543ffe1229253e46f02ea.zip
tidy ups
Diffstat (limited to 'src')
-rw-r--r--src/indicator-sound.c1
-rw-r--r--src/volume-widget.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index 4f449c1..ff69fff 100644
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -103,7 +103,6 @@ static const gint STATE_MEDIUM = 3;
static const gint STATE_HIGH = 4;
static const gint STATE_MUTED_WHILE_INPUT = 5;
static const gint STATE_SINKS_NONE = 6;
-static const gint OUT_OF_RANGE = -10;
static GHashTable *volume_states = NULL;
static GtkImage *speaker_image = NULL;
diff --git a/src/volume-widget.c b/src/volume-widget.c
index 24fb46d..69fa28f 100644
--- a/src/volume-widget.c
+++ b/src/volume-widget.c
@@ -184,7 +184,7 @@ volume_widget_value_changed_cb(GtkRange *range, gpointer user_data)
if(current_value == 0 || current_value == 100){
volume_widget_update(mitem, current_value);
}
- return TRUE;
+ return FALSE;
}
void