irungentoo/ProjectTox-Core — pull request #494 by frh (2013-08-18 23:25:40+00:00)
Title: Made configdir check XDG_CONFIG_HOME for config dir

The XDG spec [1] says to check if the environmental variable XDG_CONFIG_HOME is defined, and if so, use it to store configuration. This change makes get_user_config_dir do so.

[1] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html