summaryrefslogtreecommitdiff
path: root/tests/scanner
diff options
context:
space:
mode:
authorGarrett Regier <garrett.regier@riftio.com>2015-09-26 11:55:09 -0400
committerColin Walters <walters@verbum.org>2015-09-26 11:55:09 -0400
commit5ae7bd58b6266997b61d897ad6562118eeb59210 (patch)
treec68c962a7c690969471531369b07ea4dbef9a77a /tests/scanner
parentb503f31c7cfa3329456de9bff5a2c816a607285e (diff)
downloadgobject-introspection-5ae7bd58b6266997b61d897ad6562118eeb59210.tar.gz
scanner: Warn and ignore on incorrect transfer annotations
This is an issue in various code bases and tends to confuse newcomers. https://bugzilla.gnome.org/show_bug.cgi?id=752047 Signed-off-by: Garrett Regier <garrett.regier@riftio.com>
Diffstat (limited to 'tests/scanner')
-rw-r--r--tests/scanner/Regress-1.0-expected.gir2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/Regress-1.0-expected.gir b/tests/scanner/Regress-1.0-expected.gir
index aeb3fdbc..bc3d29dc 100644
--- a/tests/scanner/Regress-1.0-expected.gir
+++ b/tests/scanner/Regress-1.0-expected.gir
@@ -1461,7 +1461,7 @@ uses a C sugar return type.</doc>
c:identifier="regress_foo_object_new_cookie"
introspectable="0">
<doc xml:space="preserve">Not sure why this test is here...</doc>
- <return-value>
+ <return-value transfer-ownership="none">
<type name="FooObjectCookie" c:type="RegressFooObjectCookie"/>
</return-value>
<parameters>