diff options
author | David Robillard <d@drobilla.net> | 2018-12-28 11:25:15 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-24 10:58:32 -0400 |
commit | ccbc5e1993568a3ef27790ebad27b71f3073ca88 (patch) | |
tree | cdd952a2b6cb9201150a3cd232f85fcfba36de7c /src | |
parent | 52cd7ee00e64a021128034da5855a88be52f0871 (diff) | |
download | lilv-ccbc5e1993568a3ef27790ebad27b71f3073ca88.tar.gz lilv-ccbc5e1993568a3ef27790ebad27b71f3073ca88.tar.bz2 lilv-ccbc5e1993568a3ef27790ebad27b71f3073ca88.zip |
Remove old URI defines
Diffstat (limited to 'src')
-rw-r--r-- | src/lilv_config.h | 2 | ||||
-rw-r--r-- | src/state.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lilv_config.h b/src/lilv_config.h index 10231c5..1f4412d 100644 --- a/src/lilv_config.h +++ b/src/lilv_config.h @@ -29,7 +29,7 @@ #define LILV_CONFIG_H // Define version unconditionally so a warning will catch a mismatch -#define LILV_VERSION "0.24.13" +#define LILV_VERSION "1.0.0" #if !defined(LILV_NO_DEFAULT_CONFIG) diff --git a/src/state.c b/src/state.c index a4a50a9..d34f761 100644 --- a/src/state.c +++ b/src/state.c @@ -461,8 +461,8 @@ lilv_state_new_from_instance(const LilvPlugin* plugin, // Store port values if (get_value) { - LilvNode* lv2_ControlPort = lilv_new_uri(world, LILV_URI_CONTROL_PORT); - LilvNode* lv2_InputPort = lilv_new_uri(world, LILV_URI_INPUT_PORT); + LilvNode* lv2_ControlPort = lilv_new_uri(world, LV2_CORE__ControlPort); + LilvNode* lv2_InputPort = lilv_new_uri(world, LV2_CORE__InputPort); for (uint32_t i = 0; i < plugin->num_ports; ++i) { const LilvPort* const port = plugin->ports[i]; if (lilv_port_is_a(plugin, port, lv2_ControlPort) && |