forked from AuroraMiddleware/gtk
Add some more missing nullable annotations
This commit is contained in:
parent
88b4955fd9
commit
a28103cf51
@ -1951,7 +1951,7 @@ gtk_grid_attach_next_to (GtkGrid *grid,
|
||||
* Gets the child of @grid whose area covers the grid
|
||||
* cell whose upper left corner is at @left, @top.
|
||||
*
|
||||
* Returns: (transfer none): the child at the given position, or %NULL
|
||||
* Returns: (transfer none) (nullable): the child at the given position, or %NULL
|
||||
*
|
||||
* Since: 3.2
|
||||
*/
|
||||
|
@ -653,7 +653,7 @@ gtk_list_box_get_selected_row (GtkListBox *box)
|
||||
* If @_index is negative or larger than the number of items in the
|
||||
* list, %NULL is returned.
|
||||
*
|
||||
* Returns: (transfer none): the child #GtkWidget or %NULL
|
||||
* Returns: (transfer none) (nullable): the child #GtkWidget or %NULL
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
@ -3332,7 +3332,7 @@ gtk_list_box_row_changed (GtkListBoxRow *row)
|
||||
* in a #GtkListBoxUpdateHeaderFunc to see if there is a header
|
||||
* set already, and if so to update the state of it.
|
||||
*
|
||||
* Returns: (transfer none): the current header, or %NULL if none
|
||||
* Returns: (transfer none) (nullable): the current header, or %NULL if none
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
|
@ -1118,7 +1118,7 @@ gtk_window_class_init (GtkWindowClass *klass)
|
||||
/**
|
||||
* GtkWindow:set-focus:
|
||||
* @window: the window which received the signal
|
||||
* @widget: the newly focused widget (or %NULL for no focus)
|
||||
* @widget: (nullable): the newly focused widget (or %NULL for no focus)
|
||||
*
|
||||
* This signal is emitted whenever the currently focused widget in
|
||||
* this window changes.
|
||||
|
Loading…
Reference in New Issue
Block a user