From 8936ddc6599863162830a318bc79b83b9edb3f27 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 22 Nov 2021 21:47:22 +0000 Subject: docs: Note the removal of GWeatherTimezone Point application developers to GTimeZone instead. --- doc/migrating-3to4.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') 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. -- cgit v1.2.1