2008-10-15 Johan Bilien <jobi@via.ecp.fr>
* tests/scanner/annotation.c: fixed a few copy-paste errors
svn path=/trunk/; revision=708
+2008-10-15 Johan Bilien <jobi@via.ecp.fr>
+
+ * tests/scanner/annotation.c: fixed a few copy-paste errors
+
2008-10-14 Johan Bilien <jobi@via.ecp.fr>
Bug 556323 – transfer-ownership is wrong for functions returning const
* Return value: an int
*/
gint
-annotation_object_in (AnnotationObject *object, int *outarg)
+annotation_object_out (AnnotationObject *object, int *outarg)
{
*outarg = 2;
return 1;
* annotation_object_in:
* @object: a #GObject
*
- * This is a test for out arguments
+ * This is a test for in arguments
*
* @outarg: (in): This is an argument test
* Return value: an int
*/
gint
-annotation_object_out (AnnotationObject *object, int *outarg)
+annotation_object_in (AnnotationObject *object, int *inarg)
{
- *outarg = 2;
- return 1;
+ return *inarg;
}