summaryrefslogtreecommitdiffstats
path: root/src/port.c
diff options
context:
space:
mode:
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 615d38f..fd44512 100644
--- a/src/port.c
+++ b/src/port.c
@@ -289,7 +289,7 @@ slv2_port_get_scale_points(SLV2Plugin p,
slv2_node_copy(p->world->rdfs_label_node));
if (value && label) {
- g_ptr_array_add(ret, slv2_scale_point_new(value, label));
+ slv2_array_append(ret, slv2_scale_point_new(value, label));
}
}
slv2_match_end(points);