13
0

backwards compat with old gtk

This commit is contained in:
Robin Gareus 2014-09-06 20:36:24 +02:00
parent d68275cefc
commit 6745aa6e52

View File

@ -974,7 +974,7 @@ ArdourButton::on_focus_out_event (GdkEventFocus* ev)
bool
ArdourButton::on_key_release_event (GdkEventKey *ev) {
if (_focused &&
(ev->keyval == GDK_KEY_space || ev->keyval == GDK_Return))
(ev->keyval == GDK_space || ev->keyval == GDK_Return))
{
signal_clicked();
if (_action) {