diff options
author | Colin Walters <walters@verbum.org> | 2011-08-29 22:17:02 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2011-08-29 22:17:02 -0400 |
commit | cef390f65ffe9e51b103fcb29ee177882f762a0e (patch) | |
tree | 930904227ee8c35adf28300195f5567859b5e65b /tests/scanner/Foo-1.0-expected.gir | |
parent | 198bbaf8589dc2106a92050e74ad643a9411d047 (diff) | |
download | gobject-introspection-cef390f65ffe9e51b103fcb29ee177882f762a0e.tar.gz |
scanner: Don't try to copy c:type if we're parsing (element-type)
Commit 81abc2eb63317003a11d1484e84698a37e8ec035 tries harder to keep
the c:type if it was overriden by a (type) annotation. However, the
_resolve() function was also called for (element-type), which had
undesirable effects - we'd copy the container c:type to the element
type.
Fix this by splitting out the c:type preservation to only happen when
processing toplevel types.
https://bugzilla.gnome.org/show_bug.cgi?id=656931
Diffstat (limited to 'tests/scanner/Foo-1.0-expected.gir')
-rw-r--r-- | tests/scanner/Foo-1.0-expected.gir | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/Foo-1.0-expected.gir b/tests/scanner/Foo-1.0-expected.gir index ffcf2167..371250f5 100644 --- a/tests/scanner/Foo-1.0-expected.gir +++ b/tests/scanner/Foo-1.0-expected.gir @@ -1117,7 +1117,7 @@ exposed to language bindings.</doc> <function name="test_array" c:identifier="foo_test_array"> <return-value transfer-ownership="container"> <array name="GLib.Array" c:type="GArray*"> - <type name="utf8" c:type="GArray*"/> + <type name="utf8"/> </array> </return-value> </function> |