diff --git a/gtk2_ardour/ardour_dialog.h b/gtk2_ardour/ardour_dialog.h index c65eaa5a09..990d86024f 100644 --- a/gtk2_ardour/ardour_dialog.h +++ b/gtk2_ardour/ardour_dialog.h @@ -47,7 +47,7 @@ public: bool on_delete_event (GdkEventAny*); void on_unmap (); void on_show (); - void on_response (int); + virtual void on_response (int); private: WM::ProxyTemporary* proxy; diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc index 2106f487d2..aa4a8c908a 100644 --- a/gtk2_ardour/rhythm_ferret.cc +++ b/gtk2_ardour/rhythm_ferret.cc @@ -172,6 +172,12 @@ RhythmFerret::RhythmFerret (Editor& e) analysis_mode_changed (); } +void +RhythmFerret::on_response (int response_id) +{ + Gtk::Dialog::on_response (response_id); +} + void RhythmFerret::analysis_mode_changed () { diff --git a/gtk2_ardour/rhythm_ferret.h b/gtk2_ardour/rhythm_ferret.h index f091916882..d302226dd9 100644 --- a/gtk2_ardour/rhythm_ferret.h +++ b/gtk2_ardour/rhythm_ferret.h @@ -59,6 +59,7 @@ class RhythmFerret : public ArdourDialog { RhythmFerret (Editor&); void set_session (ARDOUR::Session*); + void on_response (int); protected: void on_hide ();