aboutsummaryrefslogtreecommitdiff
path: root/src/volume-warning.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/volume-warning.vala')
-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;