Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
cgwalters committed Sep 29, 2010
1 parent 022bfc5 commit 9e21e28
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions tests/scanner/Annotation-1.0-expected.gir
Expand Up @@ -778,6 +778,14 @@ detection, and fixing it via annotations.</doc>
</parameter>
</parameters>
</function>
<function name="test_parsing_bug630862"
c:identifier="annotation_test_parsing_bug630862">
<doc xml:whitespace="preserve">See https://bugzilla.gnome.org/show_bug.cgi?id=630862</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">An object, note the colon:in here</doc>
<type name="GObject.Object" c:type="GObject*"/>
</return-value>
</function>
<function name="versioned"
c:identifier="annotation_versioned"
version="0.6">
Expand Down
4 changes: 2 additions & 2 deletions tests/scanner/annotation.c
Expand Up @@ -89,7 +89,7 @@ annotation_object_class_init (AnnotationObjectClass *klass)
/**
* AnnotationObject::list-signal:
* @annotation: the annotation object
* @list: (type GLib.List) (element-type utf8): (transfer container): a list of strings
* @list: (type GLib.List) (element-type utf8) (transfer container): a list of strings
*
* This is a signal which takes a list of strings, but it's not
* known by GObject as it's only marked as G_TYPE_POINTER
Expand Down Expand Up @@ -210,7 +210,7 @@ annotation_object_out (AnnotationObject *object, int *outarg)
*
* This is a test for in arguments
*
* @inarg: (in): (transfer none): This is an argument test
* @inarg: (in) (transfer none): This is an argument test
* Return value: an int
*/
gint
Expand Down

0 comments on commit 9e21e28

Please sign in to comment.