From 3e4277c2e85d51dca327ec4c08ee2a31c1eb9883 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 10 Aug 2012 14:28:48 +0100 Subject: [PATCH] base-types: Add (constructor) annotations The alloc() functions are the constructors for their types, so it's better to have the introspection data match the intent of the API. --- clutter/clutter-base-types.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clutter/clutter-base-types.c b/clutter/clutter-base-types.c index af26ebdf4..6f45224e7 100644 --- a/clutter/clutter-base-types.c +++ b/clutter/clutter-base-types.c @@ -180,7 +180,7 @@ clutter_vertex_new (gfloat x, } /** - * clutter_vertex_alloc: + * clutter_vertex_alloc: (constructor) * * Allocates a new, empty #ClutterVertex. * @@ -398,7 +398,7 @@ clutter_point_zero (void) } /** - * clutter_point_alloc: + * clutter_point_alloc: (constructor) * * Allocates a new #ClutterPoint. * @@ -566,7 +566,7 @@ G_DEFINE_BOXED_TYPE_WITH_CODE (ClutterPoint, clutter_point, */ /** - * clutter_size_alloc: + * clutter_size_alloc: (constructor) * * Allocates a new #ClutterSize. * @@ -748,7 +748,7 @@ clutter_rect_zero (void) } /** - * clutter_rect_alloc: + * clutter_rect_alloc: (constructor) * * Creates a new, empty #ClutterRect. * @@ -1288,7 +1288,7 @@ G_DEFINE_BOXED_TYPE (ClutterMatrix, clutter_matrix, clutter_matrix_free) /** - * clutter_matrix_alloc: + * clutter_matrix_alloc: (constructor) * * Allocates enough memory to hold a #ClutterMatrix. *