Skip to content

Commit

Permalink
Adapt to class name change in libmatemixer
Browse files Browse the repository at this point in the history
  • Loading branch information
mratajsky committed Nov 10, 2014
1 parent 629fd97 commit 8daac9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mate-volume-control/gvc-mixer-dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8daac9a

Please sign in to comment.