mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Remove unused LV2 ifdef 2/3
LV2 has been mandatory since 6.0 (04ccd328dc)
This commit is contained in:
parent
c5014d9d9e
commit
1b261fab48
6 changed files with 10 additions and 29 deletions
|
|
@ -3717,7 +3717,6 @@ RCOptionEditor::RCOptionEditor ()
|
|||
_("AU Blacklist:")));
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LV2
|
||||
add_option (_("Plugins"), new OptionEditorHeading (_("LV1/LV2")));
|
||||
add_option (_("Plugins"),
|
||||
new BoolOption (
|
||||
|
|
@ -3726,9 +3725,7 @@ RCOptionEditor::RCOptionEditor ()
|
|||
sigc::mem_fun (*_rc_config, &RCConfiguration::get_conceal_lv1_if_lv2_exists),
|
||||
sigc::mem_fun (*_rc_config, &RCConfiguration::set_conceal_lv1_if_lv2_exists)
|
||||
));
|
||||
#endif
|
||||
|
||||
#if (defined WINDOWS_VST_SUPPORT || defined LXVST_SUPPORT || defined MACVST_SUPPORT || defined AUDIOUNIT_SUPPORT || defined HAVE_LV2)
|
||||
add_option (_("Plugins"), new OptionEditorHeading (_("Plugin GUI")));
|
||||
add_option (_("Plugins"),
|
||||
new BoolOption (
|
||||
|
|
@ -3738,7 +3735,7 @@ RCOptionEditor::RCOptionEditor ()
|
|||
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_open_gui_after_adding_plugin)
|
||||
));
|
||||
|
||||
#if (defined LV2_SUPPORT && defined LV2_EXTENDED)
|
||||
#ifdef LV2_EXTENDED
|
||||
add_option (_("Plugins"),
|
||||
new BoolOption (
|
||||
"show-inline-display-by-default",
|
||||
|
|
@ -3776,7 +3773,6 @@ RCOptionEditor::RCOptionEditor ()
|
|||
Gtkmm2ext::UI::instance()->set_tip (bo->tip_widget(),
|
||||
_("<b>When enabled</b> show a dialog to select instrument channel configuration before adding a multichannel plugin."));
|
||||
|
||||
#endif
|
||||
add_option (_("Plugins"), new OptionEditorHeading (_("Statistics")));
|
||||
|
||||
add_option (_("Plugins"),
|
||||
|
|
@ -4330,7 +4326,7 @@ RCOptionEditor::parameter_changed (string const & p)
|
|||
_ltc_send_continuously->set_sensitive (s);
|
||||
_ltc_volume_slider->set_sensitive (s);
|
||||
} else if (p == "open-gui-after-adding-plugin" || p == "show-inline-display-by-default") {
|
||||
#if (defined LV2_SUPPORT && defined LV2_EXTENDED)
|
||||
#ifdef LV2_EXTENDED
|
||||
_plugin_prefer_inline->set_sensitive (UIConfiguration::instance().get_open_gui_after_adding_plugin() && UIConfiguration::instance().get_show_inline_display_by_default());
|
||||
#endif
|
||||
} else if (p == "conceal-lv1-if-lv2-exists") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue