summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lilv_config.h2
-rw-r--r--src/state.c4
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) &&