]> git.ipfire.org Git - thirdparty/vala.git/commit
girparser: Avoid possibily creating duplicated attributes
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 15 Dec 2021 20:42:53 +0000 (21:42 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 16 Dec 2021 07:04:38 +0000 (08:04 +0100)
commitd493b7759b58a551c2f8123315c968f2f6f76a01
treee1c3161707e18e2befa672fca1fa7eaa04a9bebc
parenta8290c6294a81940784062204eebc844e025a2e0
girparser: Avoid possibily creating duplicated attributes

Don't append an attribute without checking if there is an existing one.
In case the attribute already exists append the new key/value pairs.
vala/valacodenode.vala
vala/valagirparser.vala