summaryrefslogtreecommitdiffstats
path: root/src/query.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-16 01:16:32 +0000
committerDavid Robillard <d@drobilla.net>2011-02-16 01:16:32 +0000
commit4cc15fb56f579e7eab9e0b947c433b96bc4c26f8 (patch)
treefeb005fcf32b46e5e39cc919f31939d54f94b236 /src/query.c
parentb9f9dac34231a12828d5427f54fc41be57eefaa5 (diff)
downloadlilv-4cc15fb56f579e7eab9e0b947c433b96bc4c26f8.tar.gz
lilv-4cc15fb56f579e7eab9e0b947c433b96bc4c26f8.tar.bz2
lilv-4cc15fb56f579e7eab9e0b947c433b96bc4c26f8.zip
Update for new Sord API.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2955 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/query.c')
-rw-r--r--src/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.c b/src/query.c
index 2f5875e..0f6aaad 100644
--- a/src/query.c
+++ b/src/query.c
@@ -77,7 +77,7 @@ slv2_values_from_stream_objects_i18n(SLV2Plugin p,
FOREACH_MATCH(stream) {
SLV2Node value = slv2_match_object(stream);
if (sord_node_get_type(value) == SORD_LITERAL) {
- const char* lang = sord_literal_get_lang(value);
+ const char* lang = sord_node_get_language(value);
SLV2LangMatch lm = SLV2_LANG_MATCH_NONE;
if (lang) {
lm = (syslang)