summaryrefslogtreecommitdiff
path: root/pango/pango-renderer.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-renderer.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-renderer.c')
-rw-r--r--pango/pango-renderer.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c
index e30af474..d7dfa037 100644
--- a/pango/pango-renderer.c
+++ b/pango/pango-renderer.c
@@ -1181,9 +1181,9 @@ pango_renderer_set_color (PangoRenderer *renderer,
*
* Gets the current rendering color for the specified part.
*
- * Return value: (transfer none): the color for the specified part, or
- * %NULL if it hasn't been set and should be inherited from the
- * environment.
+ * Return value: (transfer none) (nullable): the color for the
+ * specified part, or %NULL if it hasn't been set and should be
+ * inherited from the environment.
*
* Since: 1.8
**/
@@ -1340,10 +1340,9 @@ pango_renderer_set_matrix (PangoRenderer *renderer,
* Gets the transformation matrix that will be applied when
* rendering. See pango_renderer_set_matrix().
*
- * Return value: the matrix, or %NULL if no matrix has been set
- * (which is the same as the identity matrix). The returned
- * matrix is owned by Pango and must not be modified or
- * freed.
+ * Return value: (nullable): the matrix, or %NULL if no matrix has
+ * been set (which is the same as the identity matrix). The returned
+ * matrix is owned by Pango and must not be modified or freed.
*
* Since: 1.8
**/
@@ -1366,8 +1365,8 @@ pango_renderer_get_matrix (PangoRenderer *renderer)
* The returned layout should not be modified while still being
* rendered.
*
- * Return value: (transfer none): the layout, or %NULL if no layout is being
- * rendered using @renderer at this time.
+ * Return value: (transfer none) (nullable): the layout, or %NULL if
+ * no layout is being rendered using @renderer at this time.
*
* Since: 1.20
**/
@@ -1391,8 +1390,8 @@ pango_renderer_get_layout (PangoRenderer *renderer)
* The returned layout line should not be modified while still being
* rendered.
*
- * Return value: (transfer none): the layout line, or %NULL if no
- * layout line is being rendered using @renderer at this time.
+ * Return value: (transfer none) (nullable): the layout line, or %NULL
+ * if no layout line is being rendered using @renderer at this time.
*
* Since: 1.20
**/