fixed a few copy-paste errors
authorJohan Bilien <jobi@via.ecp.fr>
Wed, 15 Oct 2008 15:45:23 +0000 (15:45 +0000)
committerJohan Bilien <jobi@src.gnome.org>
Wed, 15 Oct 2008 15:45:23 +0000 (15:45 +0000)
2008-10-15  Johan Bilien  <jobi@via.ecp.fr>

* tests/scanner/annotation.c: fixed a few copy-paste errors

svn path=/trunk/; revision=708

ChangeLog
tests/scanner/annotation.c

index 0ec9153..dff9e69 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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
index 4ef97b3..2917ea1 100644 (file)
@@ -38,7 +38,7 @@ annotation_object_method (AnnotationObject *object)
  * Return value: an int
  */
 gint
-annotation_object_in (AnnotationObject *object, int *outarg)
+annotation_object_out (AnnotationObject *object, int *outarg)
 {
   *outarg = 2;
   return 1;
@@ -48,16 +48,15 @@ annotation_object_in (AnnotationObject *object, int *outarg)
  * 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;
 }