diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-02-12 18:12:22 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-02-12 18:12:22 +0000 |
commit | 4a5a0923821b4b80cb8406f38d3d689c0a6f44e2 (patch) | |
tree | 1132f169f92694b735f07f0874e46333af194f88 /src | |
parent | 8699f5e6bd40857166afb7bf112585d28e21b8f6 (diff) | |
download | ayatana-indicator-sound-4a5a0923821b4b80cb8406f38d3d689c0a6f44e2.tar.gz ayatana-indicator-sound-4a5a0923821b4b80cb8406f38d3d689c0a6f44e2.tar.bz2 ayatana-indicator-sound-4a5a0923821b4b80cb8406f38d3d689c0a6f44e2.zip |
fixed the default sink issue arggg
Diffstat (limited to 'src')
-rw-r--r-- | src/pulse-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulse-manager.c b/src/pulse-manager.c index e32d723..d884da7 100644 --- a/src/pulse-manager.c +++ b/src/pulse-manager.c @@ -111,8 +111,8 @@ static gboolean sink_available() // one as opposed to just picking the first g_debug("About to test for to see if the available sink is null"); - gboolean available = (g_strcasecmp(s->name, " auto_null ") != 0) && s->active_port == TRUE; - g_debug("sink_available (auto_null && !active_port) %i", available); + gboolean available = (g_ascii_strncasecmp(s->name, " auto_null ") != 0); + g_debug("sink_available: %i", available); return available; } |