summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-11-22 21:47:22 +0000
committerEmmanuele Bassi <ebassi@gmail.com>2021-11-23 12:30:11 +0000
commit8936ddc6599863162830a318bc79b83b9edb3f27 (patch)
tree66f4c447e81ff69c6b51fbbd9c69899d738d4502 /doc
parentfedefd99fd2c6f6a2515dddaf72b43d05210af98 (diff)
downloadlibgweather-8936ddc6599863162830a318bc79b83b9edb3f27.tar.gz
docs: Note the removal of GWeatherTimezone
Point application developers to GTimeZone instead.
Diffstat (limited to 'doc')
-rw-r--r--doc/migrating-3to4.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/migrating-3to4.md b/doc/migrating-3to4.md
index 76c65cd..2b422ff 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.