From ec65e351acea329de1d09b8ce518a023001dfdab Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 4 Sep 2015 11:49:56 -0400 Subject: ensure that all callers of ARDOUR_UI_UTILS::relay_key_press() provide a window --- gtk2_ardour/monitor_section.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/monitor_section.cc') diff --git a/gtk2_ardour/monitor_section.cc b/gtk2_ardour/monitor_section.cc index 2a7593c58c..f17f9feae8 100644 --- a/gtk2_ardour/monitor_section.cc +++ b/gtk2_ardour/monitor_section.cc @@ -467,7 +467,7 @@ MonitorSection::MonitorSection (Session* s) _tearoff->tearoff_window().set_type_hint (Gdk::WINDOW_TYPE_HINT_NORMAL); } _tearoff->tearoff_window().set_title (X_("Monitor")); - _tearoff->tearoff_window().signal_key_press_event().connect (sigc::bind (sigc::ptr_fun (relay_key_press), (Gtk::Window*) 0), false); + _tearoff->tearoff_window().signal_key_press_event().connect (sigc::bind (sigc::ptr_fun (relay_key_press), (Gtk::Window*) &_tearoff->tearoff_window()), false); update_output_display (); update_processor_box (); -- cgit v1.2.3