summaryrefslogtreecommitdiff
path: root/gtk/gtkeditable.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-19 07:24:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-05-20 19:17:49 -0400
commit7fe0610b681c96823c45b88ca2c9657f1320bef8 (patch)
tree41969f7b0b3526fdc2fba178ab04c96bb1371ffb /gtk/gtkeditable.c
parent8ba16eb4f1e6df67d79a9d509a3a45126a032e46 (diff)
downloadgtk+-7fe0610b681c96823c45b88ca2c9657f1320bef8.tar.gz
introspection: Stop using allow-none
allow-none has been deprecated for a long time already. Instead use optional and nullable everywhere.
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 ebdebabdf7..c579f5b961 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) (allow-none): location to store the starting position, or %NULL
- * @end_pos: (out) (allow-none): location to store the end position, or %NULL
+ * @start_pos: (out) (optional): location to store the starting position, or %NULL
+ * @end_pos: (out) (optional): location to store the end position, or %NULL
*
* Retrieves the selection bound of the editable.
*