[libgweather/doc-fixes] docs: Fix links to GWeatherLocation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather/doc-fixes] docs: Fix links to GWeatherLocation
- Date: Wed, 17 Nov 2021 22:15:25 +0000 (UTC)
commit 19c944471e410dccdee3b1d2d1ae52a0bc3819be
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Nov 17 22:14:33 2021 +0000
docs: Fix links to GWeatherLocation
It's an object type, now, and gi-docgen has gotten fussy about wrong
fragments.
doc/migrating-3to4.md | 2 +-
libgweather/gweather-location.h | 2 +-
libgweather/gweather-weather.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/doc/migrating-3to4.md b/doc/migrating-3to4.md
index e9a36a3d..b525551f 100644
--- a/doc/migrating-3to4.md
+++ b/doc/migrating-3to4.md
@@ -14,7 +14,7 @@ guidelines](https://developer.gnome.org/hig/).
### Stop using `gweather_location_get_children()`
-In order to iterate over the child locations of a [struct@GWeather.Location],
+In order to iterate over the child locations of a [class@GWeather.Location],
you should use the iterator method [`method@GWeather.Location.next_child`]:
```c
diff --git a/libgweather/gweather-location.h b/libgweather/gweather-location.h
index 374c9269..37d02219 100644
--- a/libgweather/gweather-location.h
+++ b/libgweather/gweather-location.h
@@ -58,7 +58,7 @@ typedef gboolean (* GWeatherFilterFunc) (GWeatherLocation* location,
* @GWEATHER_LOCATION_NAMED_TIMEZONE: A location representing a named or
* special timezone in the world, such as UTC
*
- * The size/scope of a particular [struct@GWeather.Location].
+ * The size/scope of a particular [class@GWeather.Location].
*
* Locations form a hierarchy, with a `GWEATHER_LOCATION_WORLD` location
* at the top, divided into regions or countries, and so on.
diff --git a/libgweather/gweather-weather.c b/libgweather/gweather-weather.c
index fd6cc414..f4439f7b 100644
--- a/libgweather/gweather-weather.c
+++ b/libgweather/gweather-weather.c
@@ -30,7 +30,7 @@
* GWeatherInfo:
*
* `GWeatherInfo` provides a handy way to access weather conditions
- * and forecasts from a [struct@GWeather.Location], aggregating multiple
+ * and forecasts from a [class@GWeather.Location], aggregating multiple
* different web services.
*
* It includes also astronomical data such as sunrise times and
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]