[libgweather/bilelmoussaoui/annotations] location: next_child's child param can be nullable
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather/bilelmoussaoui/annotations] location: next_child's child param can be nullable
- Date: Thu, 11 Feb 2021 16:23:48 +0000 (UTC)
commit 58e0ee5c74119406c7077c4f8df1b4e2350e9821
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Thu Feb 11 16:23:42 2021 +0000
location: next_child's child param can be nullable
This adds a missing annotation as otherwise the API isn't very usable from other languages like Vala
libgweather/gweather-location.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgweather/gweather-location.c b/libgweather/gweather-location.c
index c15e1190..48e2ff77 100644
--- a/libgweather/gweather-location.c
+++ b/libgweather/gweather-location.c
@@ -543,7 +543,7 @@ gweather_location_get_parent (GWeatherLocation *loc)
/**
* gweather_location_next_child:
* @loc: a #GWeatherLocation
- * @child: (transfer full): The child
+ * @child: (transfer full) (nullable): The child
*
* Allows iterating all children. Pass %NULL to get the first child,
* and any child to get the next one. Note that the reference to @child
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]