summaryrefslogtreecommitdiff
path: root/pango/pango-matrix.c
diff options
context:
space:
mode:
authorEvan Nemerson <evan@nemerson.com>2014-05-30 19:21:11 -0700
committerEvan Nemerson <evan@nemerson.com>2014-10-16 13:09:34 -0700
commitfa6ded9b0d065634481d8ae4126fdea0b88e3558 (patch)
tree151efb6762bf467ada2ac104770fdefd293b7248 /pango/pango-matrix.c
parentadb5a4e86b09b0935ec1dd71bf05ac41807c84a2 (diff)
downloadpango-fa6ded9b0d065634481d8ae4126fdea0b88e3558.tar.gz
Add many missing nullability annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=731022
Diffstat (limited to 'pango/pango-matrix.c')
-rw-r--r--pango/pango-matrix.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/pango/pango-matrix.c b/pango/pango-matrix.c
index 50a4c800..b4c27d71 100644
--- a/pango/pango-matrix.c
+++ b/pango/pango-matrix.c
@@ -32,12 +32,12 @@ G_DEFINE_BOXED_TYPE (PangoMatrix, pango_matrix,
/**
* pango_matrix_copy:
- * @matrix: a #PangoMatrix, may be %NULL
+ * @matrix: (nullable): a #PangoMatrix, may be %NULL
*
* Copies a #PangoMatrix.
*
- * Return value: the newly allocated #PangoMatrix, which should
- * be freed with pango_matrix_free(), or %NULL if
+ * Return value: (nullable): the newly allocated #PangoMatrix, which
+ * should be freed with pango_matrix_free(), or %NULL if
* @matrix was %NULL.
*
* Since: 1.6
@@ -59,7 +59,7 @@ pango_matrix_copy (const PangoMatrix *matrix)
/**
* pango_matrix_free:
- * @matrix: a #PangoMatrix, may be %NULL
+ * @matrix: (nullable): a #PangoMatrix, may be %NULL
*
* Free a #PangoMatrix created with pango_matrix_copy().
*
@@ -243,7 +243,7 @@ pango_matrix_get_font_scale_factor (const PangoMatrix *matrix)
/**
* pango_matrix_transform_distance:
- * @matrix: a #PangoMatrix, or %NULL
+ * @matrix: (nullable): a #PangoMatrix, or %NULL
* @dx: (inout): in/out X component of a distance vector
* @dy: (inout): in/out Y component of a distance vector
*
@@ -283,7 +283,7 @@ pango_matrix_transform_distance (const PangoMatrix *matrix,
/**
* pango_matrix_transform_point:
- * @matrix: a #PangoMatrix, or %NULL
+ * @matrix: (nullable): a #PangoMatrix, or %NULL
* @x: (inout): in/out X position
* @y: (inout): in/out Y position
*
@@ -307,7 +307,7 @@ pango_matrix_transform_point (const PangoMatrix *matrix,
/**
* pango_matrix_transform_rectangle:
- * @matrix: a #PangoMatrix, or %NULL
+ * @matrix: (nullable): a #PangoMatrix, or %NULL
* @rect: (inout) (allow-none): in/out bounding box in Pango units, or %NULL
*
* First transforms @rect using @matrix, then calculates the bounding box
@@ -387,7 +387,7 @@ pango_matrix_transform_rectangle (const PangoMatrix *matrix,
/**
* pango_matrix_transform_pixel_rectangle:
- * @matrix: a #PangoMatrix, or %NULL
+ * @matrix: (nullable): a #PangoMatrix, or %NULL
* @rect: (inout) (allow-none): in/out bounding box in device units, or %NULL
*
* First transforms the @rect using @matrix, then calculates the bounding box