[libgweather/ebassi/no-more-timezones: 8/9] docs: Note the removal of GWeatherTimezone
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather/ebassi/no-more-timezones: 8/9] docs: Note the removal of GWeatherTimezone
- Date: Tue, 23 Nov 2021 12:30:12 +0000 (UTC)
commit 8936ddc6599863162830a318bc79b83b9edb3f27
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Nov 22 21:47:22 2021 +0000
docs: Note the removal of GWeatherTimezone
Point application developers to GTimeZone instead.
doc/migrating-3to4.md | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/doc/migrating-3to4.md b/doc/migrating-3to4.md
index 76c65cd3..2b422fff 100644
--- a/doc/migrating-3to4.md
+++ b/doc/migrating-3to4.md
@@ -73,3 +73,12 @@ If you are using `gweather_location_ref()` to acquire a reference on a location
instance, you should now use [`method GObject Object ref`]; if you are using
`gweather_location_unref()` to release a reference on a location instance,
you should now use [`method@GObject.Object.unref`].
+
+### Use `GTimeZone` instead of `GWeatherTimezone`
+
+The `GWeatherTimezone` type has been removed, in favor of the existing
+`GTimeZone` type provided by GLib.
+
+The [struct@GLib.TimeZone] type provides all the functionality of the
+`GWeatherTimezone` structure, and includes all the interval data from
+the time zone database.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]