summaryrefslogtreecommitdiff
path: root/gtk/gtkeditable.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 /gtk/gtkeditable.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 'gtk/gtkeditable.c')
-rw-r--r--gtk/gtkeditable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkeditable.c b/gtk/gtkeditable.c
index c579f5b961..8095bca07f 100644
--- a/gtk/gtkeditable.c
+++ b/gtk/gtkeditable.c
@@ -666,8 +666,8 @@ gtk_editable_get_position (GtkEditable *editable)
/**
* gtk_editable_get_selection_bounds:
* @editable: a `GtkEditable`
- * @start_pos: (out) (optional): location to store the starting position, or %NULL
- * @end_pos: (out) (optional): location to store the end position, or %NULL
+ * @start_pos: (out) (optional): location to store the starting position
+ * @end_pos: (out) (optional): location to store the end position
*
* Retrieves the selection bound of the editable.
*