summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-02-03 09:29:23 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2013-02-07 04:29:15 -0500
commitd06a453042dfc21a5bfc99f9c770d6cdfaf86939 (patch)
tree6d8aa3c0a14fa14c39c99d6fbbe9af569ff03886
parent06f2eb7c305bb717edeec84ebf39b113bf3481a5 (diff)
downloadgobject-introspection-d06a453042dfc21a5bfc99f9c770d6cdfaf86939.tar.gz
annotation: Fix invalid type
I'm quite sure this is a typo rather than an intended thing. This will gain a test and a warning soon. https://bugzilla.gnome.org/show_bug.cgi?id=693098
-rw-r--r--tests/scanner/Regress-1.0-expected.gir5
-rw-r--r--tests/scanner/annotation.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/scanner/Regress-1.0-expected.gir b/tests/scanner/Regress-1.0-expected.gir
index 04b1e397..65628943 100644
--- a/tests/scanner/Regress-1.0-expected.gir
+++ b/tests/scanner/Regress-1.0-expected.gir
@@ -4056,8 +4056,7 @@ detection, and fixing it via regress_annotations.</doc>
</parameters>
</function>
<function name="annotation_ptr_array"
- c:identifier="regress_annotation_ptr_array"
- introspectable="0">
+ c:identifier="regress_annotation_ptr_array">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4065,7 +4064,7 @@ detection, and fixing it via regress_annotations.</doc>
<parameter name="array" transfer-ownership="none">
<doc xml:whitespace="preserve">the array</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
- <type name="GLib.Value"/>
+ <type name="GObject.Value"/>
</array>
</parameter>
</parameters>
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c
index 1181644a..f3cfb424 100644
--- a/tests/scanner/annotation.c
+++ b/tests/scanner/annotation.c
@@ -753,7 +753,7 @@ regress_annotation_set_source_file (const char *fname)
/**
* regress_annotation_ptr_array:
- * @array: (element-type GLib.Value): the array
+ * @array: (element-type GObject.Value): the array
*/
void
regress_annotation_ptr_array (GPtrArray *array)