summaryrefslogtreecommitdiff
path: root/tests/object.gir
diff options
context:
space:
mode:
authorTommi Komulainen <tommi.komulainen@iki.fi>2008-10-17 14:57:38 +0000
committerTommi Komulainen <tko@src.gnome.org>2008-10-17 14:57:38 +0000
commit2b1b2ccf3e29c26a50bcaac876b16d0c5c2d4df3 (patch)
treed10c793d4723b6a801018e34b69bbfc1e49aaf65 /tests/object.gir
parent52ca4df40a09526d9492c85a1886a8c8e85df3e5 (diff)
downloadgobject-introspection-2b1b2ccf3e29c26a50bcaac876b16d0c5c2d4df3.tar.gz
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
Diffstat (limited to 'tests/object.gir')
-rw-r--r--tests/object.gir2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/object.gir b/tests/object.gir
index b7701c1a..937849a3 100644
--- a/tests/object.gir
+++ b/tests/object.gir
@@ -8,7 +8,7 @@
<interface name="IFace1" glib:type-name="IFace1" glib:get-type="iface1_get_type"/>
<class name="Object1" parent="Object2" glib:type-name="Object1" glib:get-type="object1_get_type">
<implements name="IFace1"/>
- <property name="prop1" readable="0" writable="0">
+ <property name="prop1" readable="0">
<type name="int"/>
</property>
<glib:signal name="signal1" when="LAST">