Bug 556732 – generate gir files consistently
authorTommi Komulainen <tommi.komulainen@iki.fi>
Fri, 17 Oct 2008 14:57:38 +0000 (14:57 +0000)
committerTommi Komulainen <tko@src.gnome.org>
Fri, 17 Oct 2008 14:57:38 +0000 (14:57 +0000)
commit2b1b2ccf3e29c26a50bcaac876b16d0c5c2d4df3
treed10c793d4723b6a801018e34b69bbfc1e49aaf65
parent52ca4df40a09526d9492c85a1886a8c8e85df3e5
Bug 556732 – generate gir files consistently

2008-10-17  Tommi Komulainen  <tommi.komulainen@iki.fi>

Bug 556732 – generate gir files consistently

* giscanner/girwriter.py (_write_property): write properties
'construct' attribute if set
* tools/generate.c (write_property_info): write properties
'readable' and 'writable' attributes only if non-default
* tests/object.gir: add writable="0"
* tests/scanner/foo-1.0-expected.gir: add construct="1"

svn path=/trunk/; revision=742
ChangeLog
giscanner/girwriter.py
tests/object.gir
tests/scanner/foo-1.0-expected.gir
tools/generate.c