Christian Hergert 92cfb9ab1b environment: reduce calls to g_time_zone_new_local()
Creating a new GTimeZone for the local timezone can be quite expensive if
done repeatedly. It requires an open(), mmap(), and parsing of
/etc/localtime.

This patch was provided by Florian, and I've tested it as far back as
3.28.4 to ensure that we are really reducing the number of open() calls
on the compositor thread.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1051

Signed-off-by: Christian Hergert <chergert@redhat.com>

# Conflicts:
#	js/ui/environment.js
2020-02-28 18:24:15 +01:00
..
2018-02-21 13:54:58 +00:00
2018-02-21 13:54:58 +00:00
2018-06-07 08:42:32 +00:00
2018-02-21 13:54:58 +00:00