summaryrefslogtreecommitdiff
path: root/tests/scanner/annotation.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2011-11-25 12:09:51 -0200
committerJohan Dahlin <jdahlin@litl.com>2011-11-25 12:10:39 -0200
commit699ad0fec427c79bec1c41b2cf8e2441b9b959bc (patch)
tree457ff8073378be85ba8566afec81328fd12bbf2e /tests/scanner/annotation.c
parent9b27ce73aaeb4159daa873cdb314a50447a3143d (diff)
downloadgobject-introspection-699ad0fec427c79bec1c41b2cf8e2441b9b959bc.tar.gz
Add a floating alias for none
https://bugzilla.gnome.org/show_bug.cgi?id=657202
Diffstat (limited to 'tests/scanner/annotation.c')
-rw-r--r--tests/scanner/annotation.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c
index 07e5a349..f28befac 100644
--- a/tests/scanner/annotation.c
+++ b/tests/scanner/annotation.c
@@ -813,7 +813,7 @@ annotation_space_after_comment_bug631690 (void)
}
/**
- * annotation_return_filename
+ * annotation_return_filename:
*
* Returns: (type filename): An annotated filename
*/
@@ -822,3 +822,14 @@ annotation_return_filename (void)
{
return "a utf-8 filename";
}
+
+/**
+ * annotation_transfer_floating:
+ *
+ * Returns: (transfer floating): A floating object
+ */
+GObject *
+annotation_transfer_floating(void)
+{
+ return NULL;
+}