change ArdourDropdown API to allow other types of menu elements

This commit is contained in:
Paul Davis 2015-01-16 20:01:34 -05:00
parent ab2e23db9a
commit 6c8e11d3f8
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ ArdourDropdown::clear_items ()
}
void
ArdourDropdown::AddMenuElem (Menu_Helpers::MenuElem e)
ArdourDropdown::AddMenuElem (Menu_Helpers::Element e)
{
using namespace Menu_Helpers;

View File

@ -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;