summaryrefslogtreecommitdiff
path: root/tests/scanner
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner')
-rw-r--r--tests/scanner/annotation-1.0-expected.gir6
-rw-r--r--tests/scanner/annotation-1.0-expected.tgir4
-rw-r--r--tests/scanner/foo-1.0-expected.gir5
-rw-r--r--tests/scanner/foo-1.0-expected.tgir2
4 files changed, 12 insertions, 5 deletions
diff --git a/tests/scanner/annotation-1.0-expected.gir b/tests/scanner/annotation-1.0-expected.gir
index 3191e39d..ff8e0e19 100644
--- a/tests/scanner/annotation-1.0-expected.gir
+++ b/tests/scanner/annotation-1.0-expected.gir
@@ -484,7 +484,10 @@ type.">
<type name="none" c:type="void"/>
</return-value>
</method>
- <property name="function-property" writable="1" construct="1">
+ <property name="function-property"
+ writable="1"
+ construct="1"
+ transfer-ownership="none">
<type name="Callback" c:type="gpointer"/>
</property>
<property name="string-property"
@@ -493,6 +496,7 @@ type.">
deprecated-version="1.2"
writable="1"
construct="1"
+ transfer-ownership="none"
doc="This is a property which is a string">
<type name="utf8" c:type="gchararray"/>
</property>
diff --git a/tests/scanner/annotation-1.0-expected.tgir b/tests/scanner/annotation-1.0-expected.tgir
index 4f74b27c..ba56be6e 100644
--- a/tests/scanner/annotation-1.0-expected.tgir
+++ b/tests/scanner/annotation-1.0-expected.tgir
@@ -356,10 +356,10 @@
<type name="none"/>
</return-value>
</method>
- <property name="function-property" writable="1" construct="1">
+ <property name="function-property" writable="1" construct="1" transfer-ownership="none">
<type name="Callback"/>
</property>
- <property name="string-property" writable="1" construct="1">
+ <property name="string-property" writable="1" construct="1" transfer-ownership="none">
<type name="utf8"/>
</property>
<glib:signal name="doc-empty-arg-parsing" when="LAST">
diff --git a/tests/scanner/foo-1.0-expected.gir b/tests/scanner/foo-1.0-expected.gir
index 20eb437e..e2fd2d92 100644
--- a/tests/scanner/foo-1.0-expected.gir
+++ b/tests/scanner/foo-1.0-expected.gir
@@ -449,7 +449,10 @@ uses a C sugar return type.">
</parameter>
</parameters>
</method>
- <property name="string" writable="1" construct="1">
+ <property name="string"
+ writable="1"
+ construct="1"
+ transfer-ownership="none">
<type name="utf8" c:type="gchararray"/>
</property>
<field name="parent_instance">
diff --git a/tests/scanner/foo-1.0-expected.tgir b/tests/scanner/foo-1.0-expected.tgir
index d46a318b..f71201f2 100644
--- a/tests/scanner/foo-1.0-expected.tgir
+++ b/tests/scanner/foo-1.0-expected.tgir
@@ -333,7 +333,7 @@
</parameter>
</parameters>
</method>
- <property name="string" writable="1" construct="1">
+ <property name="string" writable="1" construct="1" transfer-ownership="none">
<type name="utf8"/>
</property>
<glib:signal name="signal" when="LAST">