summaryrefslogtreecommitdiff
path: root/mate-volume-control
diff options
context:
space:
mode:
Diffstat (limited to 'mate-volume-control')
-rw-r--r--mate-volume-control/gvc-mixer-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-volume-control/gvc-mixer-dialog.c b/mate-volume-control/gvc-mixer-dialog.c
index 92a72a7..9f3000c 100644
--- a/mate-volume-control/gvc-mixer-dialog.c
+++ b/mate-volume-control/gvc-mixer-dialog.c
@@ -145,7 +145,7 @@ find_stream_port_switch (MateMixerStream *stream)
while (switches != NULL) {
MateMixerStreamSwitch *swtch = MATE_MIXER_STREAM_SWITCH (switches->data);
- if (!MATE_MIXER_IS_TOGGLE (swtch) &&
+ if (!MATE_MIXER_IS_STREAM_TOGGLE (swtch) &&
mate_mixer_stream_switch_get_role (swtch) == MATE_MIXER_STREAM_SWITCH_ROLE_PORT)
return MATE_MIXER_SWITCH (swtch);