diff options
Diffstat (limited to 'gtk/gtktextview.c')
-rw-r--r-- | gtk/gtktextview.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 7c6e22a248..f86fbcff26 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -2117,7 +2117,7 @@ gtk_text_view_new_with_buffer (GtkTextBuffer *buffer) /** * gtk_text_view_set_buffer: (attributes org.gtk.Method.set_property=buffer) * @text_view: a `GtkTextView` - * @buffer: (allow-none): a `GtkTextBuffer` + * @buffer: (nullable): a `GtkTextBuffer` * * Sets @buffer as the buffer being displayed by @text_view. * @@ -2279,9 +2279,9 @@ gtk_text_view_get_buffer (GtkTextView *text_view) /** * gtk_text_view_get_cursor_locations: * @text_view: a `GtkTextView` - * @iter: (allow-none): a `GtkTextIter` - * @strong: (out) (allow-none): location to store the strong cursor position - * @weak: (out) (allow-none): location to store the weak cursor position + * @iter: (nullable): a `GtkTextIter` + * @strong: (out) (optional): location to store the strong cursor position + * @weak: (out) (optional): location to store the weak cursor position * * Determine the positions of the strong and weak cursors if the * insertion point is at @iter. @@ -2362,7 +2362,7 @@ gtk_text_view_get_iter_at_location (GtkTextView *text_view, * gtk_text_view_get_iter_at_position: * @text_view: a `GtkTextView` * @iter: (out): a `GtkTextIter` - * @trailing: (out) (allow-none): if non-%NULL, location to store + * @trailing: (out) (optional): if non-%NULL, location to store * an integer indicating where in the grapheme the user clicked. * It will either be zero, or the number of characters in the grapheme. * 0 represents the trailing edge of the grapheme. @@ -9211,8 +9211,8 @@ text_window_get_height (GtkTextWindow *win) * @win: a #GtkTextWindowType * @buffer_x: buffer x coordinate * @buffer_y: buffer y coordinate - * @window_x: (out) (allow-none): window x coordinate return location or %NULL - * @window_y: (out) (allow-none): window y coordinate return location or %NULL + * @window_x: (out) (optional): window x coordinate return location or %NULL + * @window_y: (out) (optional): window y coordinate return location or %NULL * * Converts buffer coordinates to window coordinates. */ @@ -9274,8 +9274,8 @@ gtk_text_view_buffer_to_window_coords (GtkTextView *text_view, * @win: a #GtkTextWindowType * @window_x: window x coordinate * @window_y: window y coordinate - * @buffer_x: (out) (allow-none): buffer x coordinate return location or %NULL - * @buffer_y: (out) (allow-none): buffer y coordinate return location or %NULL + * @buffer_x: (out) (optional): buffer x coordinate return location or %NULL + * @buffer_y: (out) (optional): buffer y coordinate return location or %NULL * * Converts coordinates on the window identified by @win to buffer * coordinates. @@ -9879,7 +9879,7 @@ gtk_text_view_insert_emoji (GtkTextView *text_view) /** * gtk_text_view_set_extra_menu: (attributes org.gtk.Method.set_property=extra-menu) * @text_view: a `GtkTextView` - * @model: (allow-none): a `GMenuModel` + * @model: (nullable): a `GMenuModel` * * Sets a menu model to add when constructing the context * menu for @text_view. |