diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-05-19 07:24:34 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-05-20 19:17:49 -0400 |
commit | 7fe0610b681c96823c45b88ca2c9657f1320bef8 (patch) | |
tree | 41969f7b0b3526fdc2fba178ab04c96bb1371ffb /gtk/gtktextbuffer.c | |
parent | 8ba16eb4f1e6df67d79a9d509a3a45126a032e46 (diff) | |
download | gtk+-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/gtktextbuffer.c')
-rw-r--r-- | gtk/gtktextbuffer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c index 40faef526d..d6394df923 100644 --- a/gtk/gtktextbuffer.c +++ b/gtk/gtktextbuffer.c @@ -1055,7 +1055,7 @@ gtk_text_buffer_get_property (GObject *object, /** * gtk_text_buffer_new: - * @table: (allow-none): a tag table, or %NULL to create a new one + * @table: (nullable): a tag table, or %NULL to create a new one * * Creates a new text buffer. * @@ -2445,7 +2445,7 @@ gtk_text_buffer_set_mark (GtkTextBuffer *buffer, /** * gtk_text_buffer_create_mark: * @buffer: a `GtkTextBuffer` - * @mark_name: (allow-none): name for mark, or %NULL + * @mark_name: (nullable): name for mark, or %NULL * @where: location to place mark * @left_gravity: whether the mark has left gravity * @@ -2826,8 +2826,8 @@ gtk_text_buffer_select_range (GtkTextBuffer *buffer, /** * gtk_text_buffer_create_tag: * @buffer: a `GtkTextBuffer` - * @tag_name: (allow-none): name of the new tag, or %NULL - * @first_property_name: (allow-none): name of first property to set, or %NULL + * @tag_name: (nullable): name of the new tag, or %NULL + * @first_property_name: (nullable): name of first property to set, or %NULL * @...: %NULL-terminated list of property names and values * * Creates a tag and adds it to the tag table for @buffer. @@ -3919,7 +3919,7 @@ remove_all_selection_clipboards (GtkTextBuffer *buffer) * gtk_text_buffer_paste_clipboard: * @buffer: a `GtkTextBuffer` * @clipboard: the `GdkClipboard` to paste from - * @override_location: (allow-none): location to insert pasted text, or %NULL + * @override_location: (nullable): location to insert pasted text, or %NULL * @default_editable: whether the buffer is editable by default * * Pastes the contents of a clipboard. |