annotation: Fix invalid type
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 3 Feb 2013 14:29:23 +0000 (09:29 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 7 Feb 2013 09:29:15 +0000 (04:29 -0500)
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
tests/scanner/annotation.c

index 04b1e397cf5a8de4f6ff69a4e3fe0137f03e146c..6562894344e7ebe3b64f1beaf03288a7ab0096a0 100644 (file)
@@ -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>
index 1181644a251bf59d938ecedceafe32c58893dae2..f3cfb4248733d1188fc42951f3dc1d7cea86e304 100644 (file)
@@ -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)