aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/base.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-07-17 23:58:20 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-07-17 23:58:20 +0200
commitd74deac624de47c672e81c33db5fc39f244ec0ca (patch)
tree6abe7952fb838f68addb316ccc3d5632d80ca6b0 /module/vcomponent/base.scm
parentResolve TODO about parameter name. (diff)
downloadcalp-d74deac624de47c672e81c33db5fc39f244ec0ca.tar.gz
calp-d74deac624de47c672e81c33db5fc39f244ec0ca.tar.xz
Properties now return alist instead of hashmap.
Diffstat (limited to 'module/vcomponent/base.scm')
-rw-r--r--module/vcomponent/base.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/vcomponent/base.scm b/module/vcomponent/base.scm
index 7f90cdf4..a93ff6da 100644
--- a/module/vcomponent/base.scm
+++ b/module/vcomponent/base.scm
@@ -156,10 +156,10 @@
(hash-map->list list (get-vline-parameters vline)))
(define-public (properties component)
- (get-component-properties component))
+ (hash-map->list cons (get-component-properties component)))
(define-public (property-keys component)
- (map car (hash-map->list cons (get-component-properties component))))
+ (map car (get-component-properties component)))
(define (copy-vline vline)
(make-vline (vline-key vline)