[goocanvas] add (out) annotations to goo_canvas_get_bounds(). #732197
- From: Damon Chaplin <damon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goocanvas] add (out) annotations to goo_canvas_get_bounds(). #732197
- Date: Thu, 15 Dec 2016 11:53:27 +0000 (UTC)
commit 51a38aced00c5ed7b8babee17a5459f56bfe2724
Author: Damon Chaplin <Damon A Chaplin gmail com>
Date: Thu Dec 15 11:52:34 2016 +0000
add (out) annotations to goo_canvas_get_bounds(). #732197
ChangeLog | 7 ++++++-
src/goocanvas.c | 8 ++++----
2 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 83136b1..7f30d6d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
-2016-12-15 Damon Chaplin <damon localhost lan>
+2016-12-15 Damon Chaplin <damon gnome org>
+
+ * src/goocanvas.c (goo_canvas_get_bounds): patch from Simon Feltman
+ to add (out) annotations for introspection. #732197
+
+2016-12-15 Damon Chaplin <damon gnome org>
* configure.in:
* src/Makefile.am : patch from Alberto Garcia to install introspection
diff --git a/src/goocanvas.c b/src/goocanvas.c
index a7f7463..48846a2 100644
--- a/src/goocanvas.c
+++ b/src/goocanvas.c
@@ -2221,10 +2221,10 @@ set_item_pointer (GooCanvasItem **item,
/**
* goo_canvas_get_bounds:
* @canvas: a #GooCanvas.
- * @left: a pointer to a #gdouble to return the left edge, or %NULL.
- * @top: a pointer to a #gdouble to return the top edge, or %NULL.
- * @right: a pointer to a #gdouble to return the right edge, or %NULL.
- * @bottom: a pointer to a #gdouble to return the bottom edge, or %NULL.
+ * @left: (out): a pointer to a #gdouble to return the left edge, or %NULL.
+ * @top: (out): a pointer to a #gdouble to return the top edge, or %NULL.
+ * @right: (out): a pointer to a #gdouble to return the right edge, or %NULL.
+ * @bottom: (out): a pointer to a #gdouble to return the bottom edge, or %NULL.
*
* Gets the bounds of the canvas, in canvas units.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]