summaryrefslogtreecommitdiff
path: root/gsk/gsktransform.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-20 20:45:06 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-05-20 20:45:06 -0400
commit4a0d3d7acc35ce7c1f2fcb29facf58b9720eb6a5 (patch)
treee4157e70d282f7e8edac07406c67bb051334d7c7 /gsk/gsktransform.c
parent7fe0610b681c96823c45b88ca2c9657f1320bef8 (diff)
downloadgtk+-4a0d3d7acc35ce7c1f2fcb29facf58b9720eb6a5.tar.gz
docs: Reduce redundancy
Remove a boatload of "or %NULL" from nullable parameters and return values. gi-docgen generates suitable text from the annotation that we don't need to duplicate. This adds a few missing nullable annotations too.
Diffstat (limited to 'gsk/gsktransform.c')
-rw-r--r--gsk/gsktransform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gsk/gsktransform.c b/gsk/gsktransform.c
index 51a5d49e04..dabb583f07 100644
--- a/gsk/gsktransform.c
+++ b/gsk/gsktransform.c
@@ -94,7 +94,7 @@ gsk_transform_has_class (GskTransform *self,
* @transform_class: class structure for this self
* @category: The category of this transform. Will be used to initialize
* the result's category together with &next's category
- * @next: (transfer full): Next transform to multiply with or %NULL if none
+ * @next: (transfer full) (nullable): Next transform to multiply with
*
* Returns: (transfer full): the newly created #GskTransform
*/
@@ -217,7 +217,7 @@ static const GskTransformClass GSK_IDENTITY_TRANSFORM_CLASS =
/*<private>
* gsk_transform_is_identity:
- * @transform: (nullable): A transform or %NULL
+ * @transform: (nullable): A transform
*
* Checks if the transform is a representation of the identity
* transform.