aboutsummaryrefslogtreecommitdiff
path: root/src/pulse-manager.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-03-08 20:40:32 +0000
committerConor Curran <conor.curran@canonical.com>2010-03-08 20:40:32 +0000
commit364d9362165f9f0d468eadc269c6421f4bf929e3 (patch)
tree548dca2a96ea30cea1dff2fef1f35e2e824824ad /src/pulse-manager.c
parent230210f34c0a3cea1de4d95697d7bbec65420750 (diff)
downloadayatana-indicator-sound-364d9362165f9f0d468eadc269c6421f4bf929e3.tar.gz
ayatana-indicator-sound-364d9362165f9f0d468eadc269c6421f4bf929e3.tar.bz2
ayatana-indicator-sound-364d9362165f9f0d468eadc269c6421f4bf929e3.zip
new pulse manager test beginnings
Diffstat (limited to 'src/pulse-manager.c')
-rw-r--r--src/pulse-manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulse-manager.c b/src/pulse-manager.c
index 4594d2f..04f842a 100644
--- a/src/pulse-manager.c
+++ b/src/pulse-manager.c
@@ -462,7 +462,8 @@ static void subscribed_events_callback(pa_context *c, enum pa_subscription_event
if ((t & PA_SUBSCRIPTION_EVENT_TYPE_MASK) == PA_SUBSCRIPTION_EVENT_REMOVE)
{
//TODO handle the remove event => if its our default sink - update date pa state
- } else
+ }
+ else
{
pa_operation_unref(pa_context_get_sink_info_by_index(c, index, update_sink_info, userdata));
}