From 6c8e11d3f8d049c12255da95719610745fe38483 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 16 Jan 2015 20:01:34 -0500 Subject: [PATCH] change ArdourDropdown API to allow other types of menu elements --- gtk2_ardour/ardour_dropdown.cc | 2 +- gtk2_ardour/ardour_dropdown.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/ardour_dropdown.cc b/gtk2_ardour/ardour_dropdown.cc index 6ad1f7c11e..29efe34da3 100644 --- a/gtk2_ardour/ardour_dropdown.cc +++ b/gtk2_ardour/ardour_dropdown.cc @@ -135,7 +135,7 @@ ArdourDropdown::clear_items () } void -ArdourDropdown::AddMenuElem (Menu_Helpers::MenuElem e) +ArdourDropdown::AddMenuElem (Menu_Helpers::Element e) { using namespace Menu_Helpers; diff --git a/gtk2_ardour/ardour_dropdown.h b/gtk2_ardour/ardour_dropdown.h index c1cf11917e..7069768610 100644 --- a/gtk2_ardour/ardour_dropdown.h +++ b/gtk2_ardour/ardour_dropdown.h @@ -40,7 +40,7 @@ class ArdourDropdown : public ArdourButton bool on_scroll_event (GdkEventScroll*); void clear_items (); - void AddMenuElem (Gtk::Menu_Helpers::MenuElem e); + void AddMenuElem (Gtk::Menu_Helpers::Element e); private: Gtk::Menu _menu;