LV2: disable unofficial LV2UI_Request_Parameter

This API is not official, and the upcoming official API differs.
The source-code is left in-place since most of it will be
re-usable as-is, regardless.
This commit is contained in:
Robin Gareus 2020-02-15 14:15:29 +01:00
parent 4c7cde0242
commit 2ac90f5598
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 6 additions and 2 deletions

View file

@ -340,12 +340,14 @@ LV2PluginUI::lv2ui_instantiate(const std::string& title)
features[fi] = features_src[fi];
}
#if 0
_lv2ui_request_paramater.handle = this;
_lv2ui_request_paramater.request = LV2PluginUI::request_parameter;
_lv2ui_request_feature.URI = LV2_UI_PREFIX "requestParameter";
_lv2ui_request_feature.data = &_lv2ui_request_paramater;
features[fi++] = &_lv2ui_request_feature;
#endif
Gtk::Alignment* container = NULL;
if (is_external_ui) {
@ -378,7 +380,7 @@ LV2PluginUI::lv2ui_instantiate(const std::string& title)
}
features[fi] = NULL;
assert (fi == features_count + (is_external_ui ? 3 : 2));
assert (fi == features_count + (is_external_ui ? 2 : 1));
if (!ui_host) {
ui_host = suil_host_new(LV2PluginUI::write_from_ui,