diff options
Diffstat (limited to 'gtk2_ardour/ardour_display.cc')
-rw-r--r-- | gtk2_ardour/ardour_display.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/ardour_display.cc b/gtk2_ardour/ardour_display.cc index ef845258ac..40fe30899a 100644 --- a/gtk2_ardour/ardour_display.cc +++ b/gtk2_ardour/ardour_display.cc @@ -52,8 +52,6 @@ using namespace std; ArdourDisplay::ArdourDisplay (Element e) { - signal_button_press_event().connect (sigc::mem_fun(*this, &ArdourDisplay::on_mouse_pressed)); - add_elements(e); add_elements(ArdourButton::Menu); add_elements(ArdourButton::Text); @@ -64,7 +62,7 @@ ArdourDisplay::~ArdourDisplay () } bool -ArdourDisplay::on_mouse_pressed (GdkEventButton*) +ArdourDisplay::on_button_press_event (GdkEventButton*) { _menu.popup (1, gtk_get_current_event_time()); return true; |