[gobject-introspection] annotation: Fix invalid type
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] annotation: Fix invalid type
- Date: Thu, 7 Feb 2013 09:30:01 +0000 (UTC)
commit d06a453042dfc21a5bfc99f9c770d6cdfaf86939
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Feb 3 09:29:23 2013 -0500
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
tests/scanner/Regress-1.0-expected.gir | 5 ++---
tests/scanner/annotation.c | 2 +-
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 04b1e39..6562894 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 1181644..f3cfb42 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]