From c373cdd1c65b5ec43e93317600508a5b0d9e7a44 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Tue, 1 Mar 2011 20:36:26 +0000 Subject: fixed a bug introduced in the last merge earlier this week --- src/pulseaudio-mgr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pulseaudio-mgr.c b/src/pulseaudio-mgr.c index 17545a4..6d11221 100644 --- a/src/pulseaudio-mgr.c +++ b/src/pulseaudio-mgr.c @@ -528,11 +528,10 @@ pm_toggle_mute_for_every_sink_callback (pa_context *c, return; } else { - if (IS_ACTIVE_SINK (userdata) == FALSE || sink == NULL){ - g_warning ("toggle_mute cb - our user data is not what we think it should be or the sink parameter is null"); + if (sink == NULL) { + g_warning ("toggle_mute cb - sink parameter is null - why ?"); return; } - pa_operation_unref (pa_context_set_sink_mute_by_index (c, sink->index, GPOINTER_TO_INT(userdata), -- cgit v1.2.3