From: Bilal Elmoussaoui Date: Fri, 11 Feb 2022 11:55:28 +0000 (+0100) Subject: g-i: Add nullable annotations to CellArea getters X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~19^2~4^2~4^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c2fe438676cd3689a7f9bf95c668c68e2a5bd3c1;p=gtk4.git g-i: Add nullable annotations to CellArea getters Fixes https://github.com/gtk-rs/gtk4-rs/issues/891 --- diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c index 5f8ac188db..3cb08fdee0 100644 --- a/gtk/gtkcellarea.c +++ b/gtk/gtkcellarea.c @@ -2858,7 +2858,7 @@ gtk_cell_area_activate (GtkCellArea *area, /** * gtk_cell_area_set_focus_cell: * @area: a `GtkCellArea` - * @renderer: the `GtkCellRenderer` to give focus to + * @renderer: (nullable): the `GtkCellRenderer` to give focus to * * Explicitly sets the currently focused cell to @renderer. * @@ -2903,7 +2903,7 @@ gtk_cell_area_set_focus_cell (GtkCellArea *area, * * Retrieves the currently focused cell for @area * - * Returns: (transfer none): the currently focused cell in @area. + * Returns: (transfer none) (nullable): the currently focused cell in @area. */ GtkCellRenderer * gtk_cell_area_get_focus_cell (GtkCellArea *area) @@ -3211,7 +3211,7 @@ gtk_cell_area_set_edit_widget (GtkCellArea *area, * Gets the `GtkCellRenderer` in @area that is currently * being edited. * - * Returns: (transfer none): The currently edited `GtkCellRenderer` + * Returns: (transfer none) (nullable): The currently edited `GtkCellRenderer` */ GtkCellRenderer * gtk_cell_area_get_edited_cell (GtkCellArea *area) @@ -3230,7 +3230,7 @@ gtk_cell_area_get_edited_cell (GtkCellArea *area) * Gets the `GtkCellEditable` widget currently used * to edit the currently edited cell. * - * Returns: (transfer none): The currently active `GtkCellEditable` widget + * Returns: (transfer none) (nullable): The currently active `GtkCellEditable` widget */ GtkCellEditable * gtk_cell_area_get_edit_widget (GtkCellArea *area)