summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/ardour_dialog.h2
-rw-r--r--gtk2_ardour/rhythm_ferret.cc6
-rw-r--r--gtk2_ardour/rhythm_ferret.h1
3 files changed, 8 insertions, 1 deletions
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
@@ -173,6 +173,12 @@ RhythmFerret::RhythmFerret (Editor& e)
}
void
+RhythmFerret::on_response (int response_id)
+{
+ Gtk::Dialog::on_response (response_id);
+}
+
+void
RhythmFerret::analysis_mode_changed ()
{
bool const perc = get_analysis_mode() == PercussionOnset;
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 ();