summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/scanner/annotation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c
index 0f3858f2..fb8b48f4 100644
--- a/tests/scanner/annotation.c
+++ b/tests/scanner/annotation.c
@@ -400,7 +400,7 @@ regress_annotation_object_get_objects (RegressAnnotationObject *object)
GObject*
regress_annotation_object_create_object (RegressAnnotationObject *object)
{
- return g_object_ref (object);
+ return G_OBJECT (g_object_ref (object));
}
/**