summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-02-12 14:03:14 -0200
committerJohan Dahlin <johan@gnome.org>2010-02-12 14:03:14 -0200
commitefc88ed30e212cc0cca9fbb57b245e4a02a3d136 (patch)
tree3a189b14016bd1b070bbc281c75eb187114387b9
parentb9c2a93b383928dca7e4f210dec4deb67b0c33ec (diff)
downloadgobject-introspection-efc88ed30e212cc0cca9fbb57b245e4a02a3d136.tar.gz
Fix unittests, add missing allow-none
Colin should remember to run `make check' before comitting!
-rw-r--r--tests/scanner/foo-1.0-expected.gir2
-rw-r--r--tests/scanner/foo-1.0-expected.tgir2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/scanner/foo-1.0-expected.gir b/tests/scanner/foo-1.0-expected.gir
index bf17146e..d29a068e 100644
--- a/tests/scanner/foo-1.0-expected.gir
+++ b/tests/scanner/foo-1.0-expected.gir
@@ -709,7 +709,7 @@ uses a C sugar return type.">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="cancellable" transfer-ownership="none">
+ <parameter name="cancellable" transfer-ownership="none" allow-none="1">
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
diff --git a/tests/scanner/foo-1.0-expected.tgir b/tests/scanner/foo-1.0-expected.tgir
index 959e99fb..ea7aa70d 100644
--- a/tests/scanner/foo-1.0-expected.tgir
+++ b/tests/scanner/foo-1.0-expected.tgir
@@ -574,7 +574,7 @@
<type name="none"/>
</return-value>
<parameters>
- <parameter name="cancellable" transfer-ownership="none">
+ <parameter name="cancellable" transfer-ownership="none" allow-none="1">
<type name="Gio.Cancellable"/>
</parameter>
<parameter name="callback" transfer-ownership="none" scope="async" closure="2">