mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 02:47:52 +02:00
gtimezone: Add new constructor which can report errors
Add a new variant of `g_time_zone_new()` which returns `NULL` on failure to load a timezone, rather than silently returning UTC. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Fixes: #553
This commit is contained in:
@@ -1939,6 +1939,7 @@ g_time_zone_unref
|
||||
g_time_zone_ref
|
||||
<SUBSECTION>
|
||||
g_time_zone_new
|
||||
g_time_zone_new_identifier
|
||||
g_time_zone_new_local
|
||||
g_time_zone_new_utc
|
||||
g_time_zone_new_offset
|
||||
|
Reference in New Issue
Block a user