summary refs log tree commit diff stats
path: root/src/common/cfgfiles.c
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2014-08-20 12:50:08 -0700
committerArnavion <arnavion@gmail.com>2014-08-20 12:50:08 -0700
commita38892ff3b75c411ba7917412f6861d420cf9ae1 (patch)
treebb3a4e1f0ac5d54ff1f7eb90310f889a88516f40 /src/common/cfgfiles.c
parentdc18e3da07b359b5e22eb7a970100b874d232f1f (diff)
Use GFile API in gtkutil_check_file instead of stat/access.
The latter functions expect codepage-encoded filenames on Windows but GLib's API returns filesystem-encoded paths, which on Windows are UTF-8. GLib API should be used to deal with GLib API results.

Also fixed leaks in two of the callers of gtkutil_check_file()

Fixes #968
Diffstat (limited to 'src/common/cfgfiles.c')
0 files changed, 0 insertions, 0 deletions