summaryrefslogtreecommitdiff
path: root/tests/scanner/annotation.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-09-23 17:13:29 -0300
committerJohan Dahlin <johan@gnome.org>2010-09-23 17:25:47 -0300
commite2b95cdb39d6e5f287e23dbf30a04031b49a230f (patch)
treeb3d36b0a28cf358dc1ce40459d57e4638eb965b1 /tests/scanner/annotation.c
parent2525786185e0f9025f88c00769d948d2b83d646d (diff)
downloadgobject-introspection-e2b95cdb39d6e5f287e23dbf30a04031b49a230f.tar.gz
[scanner] Warn for invalid scanner annotations
Warn for invalid annotations. Change so that custom attributes have to use the annotation keyword.
Diffstat (limited to 'tests/scanner/annotation.c')
-rw-r--r--tests/scanner/annotation.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c
index 40df0860..e2e0991f 100644
--- a/tests/scanner/annotation.c
+++ b/tests/scanner/annotation.c
@@ -122,12 +122,12 @@ annotation_object_class_init (AnnotationObjectClass *klass)
/**
* AnnotationObject::attribute-signal:
* @annotation: the annotation object
- * @arg1: (some.annotation.foo1 val1): a value
- * @arg2: (some.annotation.foo2 val2): another value
+ * @arg1: (attribute some.annotation.foo1 val1): a value
+ * @arg2: (attribute some.annotation.foo2 val2): another value
*
* This signal tests a signal with attributes.
*
- * Returns: (some.annotation.foo3 val3): the return value
+ * Returns: (attribute some.annotation.foo3 val3): the return value
*/
annotation_object_signals[ATTRIBUTE_SIGNAL] =
g_signal_new ("attribute-signal",
@@ -734,9 +734,9 @@ annotation_ptr_array (GPtrArray *array)
/**
* annotation_attribute_func:
* @object: A #AnnotationObject.
- * @data: (some.annotation value) (another.annotation blahvalue): Some data.
+ * @data: (attribute some.annotation value) (attribute another.annotation blahvalue): Some data.
*
- * Returns: (some.other.annotation value2) (yet.another.annotation another_value): The return value.
+ * Returns: (attribute some.other.annotation value2) (attribute yet.another.annotation another_value): The return value.
*/
gint
annotation_attribute_func (AnnotationObject *object,