pidgin/pidgin

2abcdcea1ee0
Parents 920f2790dca3
Children fe203b2245fb
Replace g_time_zone_new with g_time_zone_new_identifier

Testing Done:
Ran the unit tests.

Reviewed at https://reviews.imfreedom.org/r/903/
--- a/libpurple/util.c Tue Aug 24 04:50:42 2021 -0500
+++ b/libpurple/util.c Tue Aug 24 04:51:11 2021 -0500
@@ -409,11 +409,11 @@
if (str != end) {
/* Trim anything trailing a purely numeric time zone. */
gchar *tzstr = g_strndup(str, end - str);
- tz = g_time_zone_new(tzstr);
+ tz = g_time_zone_new_identifier(tzstr);
g_free(tzstr);
} else {
/* Just try whatever is there. */
- tz = g_time_zone_new(str);
+ tz = g_time_zone_new_identifier(str);
}
}
}