diff options
author | David Robillard <d@drobilla.net> | 2011-02-04 02:44:07 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-04 02:44:07 +0000 |
commit | cc61578f0f1417aba3c6d147d164bc644541372b (patch) | |
tree | dae833664026ff4de6e158ce4b4f038cbd8d18cd /src/query.c | |
parent | b0c49632a5ee21d4ea35d0ae6160910fd35d68f3 (diff) | |
download | lilv-cc61578f0f1417aba3c6d147d164bc644541372b.tar.gz lilv-cc61578f0f1417aba3c6d147d164bc644541372b.tar.bz2 lilv-cc61578f0f1417aba3c6d147d164bc644541372b.zip |
Replace use of raptor (for raptor_sequence) with glib.
SLV2 now depends only on serd, sord, and glib.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2903 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/query.c')
-rw-r--r-- | src/query.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/query.c b/src/query.c index 9f331da..71ed613 100644 --- a/src/query.c +++ b/src/query.c @@ -50,7 +50,7 @@ slv2_values_from_stream_i18n(SLV2Plugin p, const char* lang = sord_literal_get_lang(value); if (lang) { if (!strcmp(lang, slv2_get_lang())) { - raptor_sequence_push( + g_ptr_array_add( values, slv2_value_new_string( p->world, sord_node_get_string(value))); } @@ -65,7 +65,7 @@ slv2_values_from_stream_i18n(SLV2Plugin p, if (slv2_values_size(values) == 0) { // No value with a matching language, use untranslated default if (nolang) { - raptor_sequence_push( + g_ptr_array_add( values, slv2_value_new_string( p->world, sord_node_get_string(nolang))); } else { |