From 79c9c62154573d24a6c5699247cacb132ed4d125 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 19 Dec 2018 20:04:50 -0500 Subject: Remove conditional support for ancient versions of Lilv This updates the dependency to 0.24.2, which was released in January 2017 and is the most recent version in Debian 9 (stretch). --- gtk2_ardour/lv2_plugin_ui.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gtk2_ardour/lv2_plugin_ui.cc') diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc index f83adef407..0bb79a2562 100644 --- a/gtk2_ardour/lv2_plugin_ui.cc +++ b/gtk2_ardour/lv2_plugin_ui.cc @@ -408,13 +408,8 @@ LV2PluginUI::lv2ui_instantiate(const std::string& title) const LilvUI* ui = (const LilvUI*)_lv2->c_ui(); const LilvNode* bundle = lilv_ui_get_bundle_uri(ui); const LilvNode* binary = lilv_ui_get_binary_uri(ui); -#ifdef HAVE_LILV_0_21_3 char* ui_bundle_path = lilv_file_uri_parse(lilv_node_as_uri(bundle), NULL); char* ui_binary_path = lilv_file_uri_parse(lilv_node_as_uri(binary), NULL); -#else - char* ui_bundle_path = strdup(lilv_uri_to_path(lilv_node_as_uri(bundle))); - char* ui_binary_path = strdup(lilv_uri_to_path(lilv_node_as_uri(binary))); -#endif if (!ui_bundle_path || !ui_binary_path) { error << _("failed to get path for UI bindle or binary") << endmsg; free(ui_bundle_path); -- cgit v1.2.3