aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-28 21:01:35 -0600
committercharles kerr <charlesk@canonical.com>2015-12-28 21:01:35 -0600
commita1714e77e44c9de2f8dd1f236ba9c39c4d5fa11c (patch)
tree0abb9a2692aa723ec6f3d837a580cad4e383e9ee /src
parent4f77274b07e81c1175f402e0bd98312c8cba8f77 (diff)
downloadayatana-indicator-sound-a1714e77e44c9de2f8dd1f236ba9c39c4d5fa11c.tar.gz
ayatana-indicator-sound-a1714e77e44c9de2f8dd1f236ba9c39c4d5fa11c.tar.bz2
ayatana-indicator-sound-a1714e77e44c9de2f8dd1f236ba9c39c4d5fa11c.zip
call set_subscribe_callback() /before/ subscribe()
Diffstat (limited to 'src')
-rw-r--r--src/volume-warning.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/volume-warning.vala b/src/volume-warning.vala
index 1072407..8f2f751 100644
--- a/src/volume-warning.vala
+++ b/src/volume-warning.vala
@@ -177,8 +177,8 @@ public class VolumeWarning : Object
{
switch (c.get_state ()) {
case Context.State.READY:
- c.subscribe (PulseAudio.Context.SubscriptionMask.SINK_INPUT);
c.set_subscribe_callback (context_events_cb);
+ c.subscribe (PulseAudio.Context.SubscriptionMask.SINK_INPUT);
pulse_update_sink_inputs();
break;