aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-01-27 17:16:02 +0000
committerConor Curran <conor.curran@canonical.com>2010-01-27 17:16:02 +0000
commit3cc04b8a7529f4d7746119a395fd6714337e26b7 (patch)
treeda029b5fb2453a5f4f1873d87f9600b381e3a15e /src/sound-service.c
parente483b4902a4fb6ee81de8f24f6f8de65955da083 (diff)
downloadayatana-indicator-sound-3cc04b8a7529f4d7746119a395fd6714337e26b7.tar.gz
ayatana-indicator-sound-3cc04b8a7529f4d7746119a395fd6714337e26b7.tar.bz2
ayatana-indicator-sound-3cc04b8a7529f4d7746119a395fd6714337e26b7.zip
slider now appears
Diffstat (limited to 'src/sound-service.c')
-rw-r--r--src/sound-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound-service.c b/src/sound-service.c
index 31e7b82..cb21e71 100644
--- a/src/sound-service.c
+++ b/src/sound-service.c
@@ -150,8 +150,8 @@ static void context_state_callback(pa_context *c, void *userdata) {
g_debug("PA daemon is ready");
pa_context_set_subscribe_callback(c, subscribed_events_callback, userdata);
pa_operation_unref(pa_context_get_sink_info_list(c, retrieve_complete_sink_list, NULL));
+ pa_operation_unref(pa_context_subscribe(c, PA_SUBSCRIPTION_MASK_SINK, NULL, NULL));
pa_operation_unref(pa_context_subscribe(c, PA_SUBSCRIPTION_MASK_SINK_INPUT, NULL, NULL));
- //pa_operation_unref(pa_context_subscribe(c, PA_SUBSCRIPTION_MASK_SINK, NULL, NULL));
break;
}
}