[goocanvas] A few introspection fixes.
- From: Damon Chaplin <damon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goocanvas] A few introspection fixes.
- Date: Fri, 7 Oct 2011 16:30:01 +0000 (UTC)
commit 92c5f7fb1b291e3d4397a00e36ba6eacfb7fd84d
Author: Damon Chaplin <damon gnome org>
Date: Fri Oct 7 17:30:17 2011 +0100
A few introspection fixes.
ChangeLog | 11 +++++++++++
src/goocanvasgrid.c | 2 +-
src/goocanvasitem.c | 6 +++---
3 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e179328..ed247dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2011-10-07 Damon Chaplin <damon gnome org>
+
+ * src/goocanvasitem.c (goo_canvas_item_get_transform)
+ (goo_canvas_item_get_transform_for_child): use (out) annotation for the
+ transformation matrix. Though it won't work at the moment as there is
+ currently no introspection support for cairo_matrix_t. (See #651043)
+ Also don't (skip) the return value.
+
+ * src/goocanvasgrid.c (goo_canvas_grid_model_new): removed the (skip)
+ annotation on the varargs - none of the other new() functions have it.
+
2011-09-26 Murray Cumming <murrayc murrayc com>
GooCanvasImage: Correct the image appearance when using non-pixel units.
diff --git a/src/goocanvasgrid.c b/src/goocanvasgrid.c
index 5fa72ec..d9f635d 100644
--- a/src/goocanvasgrid.c
+++ b/src/goocanvasgrid.c
@@ -1090,7 +1090,7 @@ goo_canvas_grid_model_init (GooCanvasGridModel *gmodel)
* @y_step: the distance between the horizontal grid lines.
* @x_offset: the distance before the first vertical grid line.
* @y_offset: the distance before the first horizontal grid line.
- * @...: (skip): optional pairs of property names and values, and a terminating %NULL.
+ * @...: optional pairs of property names and values, and a terminating %NULL.
*
* Creates a new grid model.
*
diff --git a/src/goocanvasitem.c b/src/goocanvasitem.c
index a766516..3409dc6 100644
--- a/src/goocanvasitem.c
+++ b/src/goocanvasitem.c
@@ -932,11 +932,11 @@ goo_canvas_item_lower (GooCanvasItem *item,
/**
* goo_canvas_item_get_transform:
* @item: an item.
- * @transform: (out callee-allocates) (transfer none): the place to store the transform.
+ * @transform: (out): the place to store the transform.
*
* Gets the transformation matrix of an item.
*
- * Returns: (skip): %TRUE if a transform is set.
+ * Returns: %TRUE if a transform is set.
**/
gboolean
goo_canvas_item_get_transform (GooCanvasItem *item,
@@ -952,7 +952,7 @@ goo_canvas_item_get_transform (GooCanvasItem *item,
* goo_canvas_item_get_transform_for_child:
* @item: an item.
* @child: a child of @item.
- * @transform: the place to store the transform.
+ * @transform: (out): the place to store the transform.
*
* Gets the transformation matrix of an item combined with any special
* transform needed for the given child. These special transforms are used
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]