use simpler ArdourButton API for blinking
git-svn-id: svn://localhost/ardour2/branches/3.0@10589 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ae31a55688
commit
1ed44bf2ba
|
@ -552,12 +552,12 @@ ARDOUR_UI::audition_blink (bool onoff)
|
|||
|
||||
if (_session->is_auditioning()) {
|
||||
if (onoff) {
|
||||
auditioning_alert_button.set_active_state (Gtkmm2ext::Active);
|
||||
auditioning_alert_button.set_active (true);
|
||||
} else {
|
||||
auditioning_alert_button.unset_active_state();
|
||||
auditioning_alert_button.set_active (false);
|
||||
}
|
||||
} else {
|
||||
auditioning_alert_button.unset_active_state ();
|
||||
auditioning_alert_button.set_active (true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue