diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-21 15:55:17 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-21 15:55:17 +0000 |
commit | b65f8073ba306ac2d85133875746767e7c6b0eb6 (patch) | |
tree | 86e598b4cfe92aa8eaca558b85e1a4c397fa3f0e /gtk2_ardour/plugin_ui.cc | |
parent | f41149628955fc8145bef6db0c110b71664c0a3a (diff) |
Fix some unused parameter warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/plugin_ui.cc | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index 527c54876e..1c5a56f531 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -228,7 +228,11 @@ PluginUIWindow::on_hide () } bool +#ifdef VST_SUPPORT PluginUIWindow::create_vst_editor(boost::shared_ptr<PluginInsert> insert) +#else +PluginUIWindow::create_vst_editor(boost::shared_ptr<PluginInsert>) +#endif { #ifndef VST_SUPPORT return false; @@ -254,7 +258,11 @@ PluginUIWindow::create_vst_editor(boost::shared_ptr<PluginInsert> insert) } bool +#if defined (HAVE_AUDIOUNITS) && defined (GTKOSX) PluginUIWindow::create_audiounit_editor (boost::shared_ptr<PluginInsert> insert) +#else +PluginUIWindow::create_audiounit_editor (boost::shared_ptr<PluginInsert>) +#endif { #if !defined(HAVE_AUDIOUNITS) || !defined(GTKOSX) return false; @@ -272,7 +280,11 @@ PluginUIWindow::create_audiounit_editor (boost::shared_ptr<PluginInsert> insert) } void +#if defined (HAVE_AUDIOUNITS) && defined(GTKOSX) PluginUIWindow::app_activated (bool yn) +#else +PluginUIWindow::app_activated (bool) +#endif { #if defined (HAVE_AUDIOUNITS) && defined(GTKOSX) cerr << "APP activated ? " << yn << endl; @@ -327,7 +339,7 @@ PluginUIWindow::on_key_press_event (GdkEventKey* event) } bool -PluginUIWindow::on_key_release_event (GdkEventKey* event) +PluginUIWindow::on_key_release_event (GdkEventKey *) { return true; } @@ -499,7 +511,7 @@ PlugUIBase::bypass_toggled () } bool -PlugUIBase::focus_toggled (GdkEventButton* ev) +PlugUIBase::focus_toggled (GdkEventButton*) { if (Keyboard::the_keyboard().some_magic_widget_has_focus()) { Keyboard::the_keyboard().magic_widget_drop_focus(); |