diff options
author | David Robillard <d@drobilla.net> | 2011-02-11 18:15:18 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-11 18:15:18 +0000 |
commit | 4861238c1624a193e30fc0aa78438b4977dbeb82 (patch) | |
tree | 3a740862ccb973833e4c2638010d4bbe00ac0a67 /src/pluginui.c | |
parent | 9749ab338c735f777be4fe6dc89082ea30044df1 (diff) | |
download | lilv-4861238c1624a193e30fc0aa78438b4977dbeb82.tar.gz lilv-4861238c1624a193e30fc0aa78438b4977dbeb82.tar.bz2 lilv-4861238c1624a193e30fc0aa78438b4977dbeb82.zip |
Use GSequence for collections with get_by_uri search methods.
Avoid constant sorting during plugin discovery.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2919 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/pluginui.c')
-rw-r--r-- | src/pluginui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluginui.c b/src/pluginui.c index f4c2980..8778d3a 100644 --- a/src/pluginui.c +++ b/src/pluginui.c @@ -49,7 +49,7 @@ slv2_ui_new(SLV2World world, free(bundle); ui->classes = slv2_values_new(); - g_ptr_array_add(ui->classes, type_uri); + slv2_array_append(ui->classes, type_uri); return ui; } |