[libadwaita] leaflet: nullable annotations for visible_child



commit 7248daf388f00bca2f820bc559a86b72eb9cb307
Author: Sophie Herold <sophie hemio de>
Date:   Thu Jun 24 23:56:10 2021 +0200

    leaflet: nullable annotations for visible_child

 src/adw-leaflet.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/adw-leaflet.c b/src/adw-leaflet.c
index 5a0fb381..638b947b 100644
--- a/src/adw-leaflet.c
+++ b/src/adw-leaflet.c
@@ -3401,7 +3401,7 @@ adw_leaflet_set_child_transition_duration (AdwLeaflet *self,
  *
  * Gets the widget currently visible when the leaflet is folded.
  *
- * Returns: (transfer none): the visible child
+ * Returns: (nullable) (transfer none): the visible child
  *
  * Since: 1.0
  */
@@ -3450,7 +3450,7 @@ adw_leaflet_set_visible_child (AdwLeaflet *self,
  *
  * Gets the name of the currently visible child widget.
  *
- * Returns: (transfer none): the name of the visible child
+ * Returns: (nullable) (transfer none): the name of the visible child
  *
  * Since: 1.0
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]