summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>2021-02-11 16:23:42 +0000
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>2021-02-11 16:40:34 +0000
commit3a933d594f712292977f0ef0df5b47699543f997 (patch)
treec074ee3563bbab69047f160f9ee416acebbe454d
parent68de416b36d88996e02b5e13f25547ca75cceca5 (diff)
downloadlibgweather-3a933d594f712292977f0ef0df5b47699543f997.tar.gz
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
-rw-r--r--libgweather/gweather-location.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgweather/gweather-location.c b/libgweather/gweather-location.c
index c15e119..48e2ff7 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