summaryrefslogtreecommitdiffstats
path: root/src/port.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-31 23:06:17 +0000
committerDavid Robillard <d@drobilla.net>2011-01-31 23:06:17 +0000
commit09f8cfc848d94ecf3be94915f1592fa6d10925e1 (patch)
tree78a66ac914087a62e86bbd7b4ef3ac449f5a0884 /src/port.c
parente98533cbbd871495593879c3ae7b1fe204434a07 (diff)
downloadlilv-09f8cfc848d94ecf3be94915f1592fa6d10925e1.tar.gz
lilv-09f8cfc848d94ecf3be94915f1592fa6d10925e1.tar.bz2
lilv-09f8cfc848d94ecf3be94915f1592fa6d10925e1.zip
Move copies in every call to slv2_world_find_statements inside the function.
Change prototype of said function to use SLV2Node. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2893 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/port.c')
-rw-r--r--src/port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port.c b/src/port.c
index b9a4671..0ec8dfc 100644
--- a/src/port.c
+++ b/src/port.c
@@ -106,7 +106,7 @@ slv2_port_has_property(SLV2Plugin p,
SLV2Matches results = slv2_plugin_find_statements(
p,
port_node,
- librdf_new_node_from_uri_string(p->world->world, SLV2_NS_LV2 "portProperty"),
+ p->world->lv2_portproperty_node,
slv2_value_as_node(property));
const bool ret = !slv2_matches_end(results);