summaryrefslogtreecommitdiff
path: root/src/nautilus-files-view-dnd.h
diff options
context:
space:
mode:
authorSebastian Keller <skeller@gnome.org>2023-04-20 21:28:10 +0200
committerSebastian Keller <skeller@gnome.org>2023-04-20 21:28:10 +0200
commita76d23f79ef558dbed8109d5469abeb5d6a78666 (patch)
tree6dc6d5428446df8e1b64095dd3e2bbcd1e1e13b4 /src/nautilus-files-view-dnd.h
parentad18733acad92cbd69e63d283931ca8f4ca93d1f (diff)
downloadnautilus-a76d23f79ef558dbed8109d5469abeb5d6a78666.tar.gz
file: Re-use local time zone when generating date string
Whenever g_time_zone_new_local() is called it has to check the file system for changes, because the system's time zone might have changed since the last call. This function was called multiple times for each file when generating the date string, which was causing some unnecessary overhead. This changes the code to re-use the local time zone from the first call.
Diffstat (limited to 'src/nautilus-files-view-dnd.h')
0 files changed, 0 insertions, 0 deletions