Skip to content

Commit

Permalink
fix for valac 0.18.1 bugging on ternary operators in struct initializ…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
naxuroqa committed Jul 23, 2014
1 parent 787cc2c commit 6413778
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/AudioManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,11 @@ namespace Venom {
}

public void set_mute(Contact c, bool mute) {
int imute = (mute ? 1 : 0);
status_changes.push( AVStatusChange() {
type = AVStatusChangeType.MUTE,
call_index = c.call_index,
var1 = mute ? 1 : 0
var1 = imute
});
}

Expand Down

0 comments on commit 6413778

Please sign in to comment.