summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_selector.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-11-14 17:41:29 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-11-14 17:41:29 +0000
commitc66955386ecfb86b3dd2b137a8e6e4143711f329 (patch)
tree5da85b4fcf3b6c0c4c8cf2f4a49d2ed1eb88a147 /gtk2_ardour/plugin_selector.h
parent28f328e09c6227ab6248c91ae0690a02d9d23300 (diff)
make PluginManager API more in line with other singletons; do initial plugin discovery before beginning to construct the UI, so that if plugins create GUIs (e.g for license verification) they don't cause a run loop to catch the UIManager in an inconsistent state with menus defined but actions missing
git-svn-id: svn://localhost/ardour2/branches/3.0@10586 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/plugin_selector.h')
-rw-r--r--gtk2_ardour/plugin_selector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/plugin_selector.h b/gtk2_ardour/plugin_selector.h
index 3635b71a76..7eef190b5f 100644
--- a/gtk2_ardour/plugin_selector.h
+++ b/gtk2_ardour/plugin_selector.h
@@ -37,7 +37,7 @@ namespace ARDOUR {
class PluginSelector : public ArdourDialog
{
public:
- PluginSelector (ARDOUR::PluginManager *);
+ PluginSelector (ARDOUR::PluginManager&);
~PluginSelector ();
void set_interested_object (PluginInterestedObject&);
@@ -116,7 +116,7 @@ class PluginSelector : public ArdourDialog
void au_refiller (const std::string&);
Gtk::Menu* _plugin_menu;
- ARDOUR::PluginManager *manager;
+ ARDOUR::PluginManager& manager;
void row_clicked(GdkEventButton *);
void btn_add_clicked();