summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-19 20:04:50 -0500
committerDavid Robillard <d@drobilla.net>2018-12-19 20:08:47 -0500
commit79c9c62154573d24a6c5699247cacb132ed4d125 (patch)
treeb9dc49a126e40809d374ebb5f4c9df15e4b93ab8 /gtk2_ardour
parentff51744671f46e5090a5ffb184c30a48b9452cbe (diff)
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).
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/lv2_plugin_ui.cc5
1 files changed, 0 insertions, 5 deletions
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);