diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-01-07 20:41:51 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-01-07 20:41:51 +0000 |
commit | 5284a1efca7e4b1e95247015ccad557b2d0aaadc (patch) | |
tree | d8f28722e9a3fa2980d8f6d67f923640f0c05eca /gtk2_ardour/plugin_ui.cc | |
parent | e6dc790374e9df9b3efef8fdddd664e571147acb (diff) |
various OS X fixes, mostly related to AU support
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2836 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/plugin_ui.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index 64e41bedb9..dc51db46b6 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -175,13 +175,11 @@ PluginUIWindow::create_audiounit_editor (boost::shared_ptr<PluginInsert> insert) void PluginUIWindow::app_activated (bool yn) { -#if defined(HAVE_AUDIOUNITS) && defined(GTKOSX) +#if defined (HAVE_AUDIOUNITS) && defined(GTKOSX) if (yn) { - ARDOUR_UI::instance()->the_editor().ensure_float (*this); - show (); - } else { - hide (); + _pluginui->activate (); } + cerr << "activated ? " << yn << endl; #endif } |