From 6745aa6e526f27e4a5d0a2c04f9e5e60276dc6d8 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 6 Sep 2014 20:36:24 +0200 Subject: [PATCH] backwards compat with old gtk --- gtk2_ardour/ardour_button.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/ardour_button.cc b/gtk2_ardour/ardour_button.cc index bd64d067e3..34236f2bb0 100644 --- a/gtk2_ardour/ardour_button.cc +++ b/gtk2_ardour/ardour_button.cc @@ -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) {