-
Tor Lillqvist authored
Make g_get_user_data_dir() return the CSIDL_LOCAL_APPDATA folder on Windows, and not CSIDL_PERSONAL. On Windows 7, that corresponds to the subfolders AppData\Local vs. Documents under the profile ("home") folder. This matches what Qt does, for instance, and has been widely requested. Also make g_get_user_config_dir() return this and not the (roaming) CSIDL_APPDATA folder. The reason for this change is that it would be surprising and hard to justify if g_get_user_data_dir() returned the local application data folder while g_get_user_config_dir() would return the roaming one. Nothing in the function names or the XDG specs suggests that any roaming vs. local dichotomy would be involved. Document the new semantics and the fact that these two functions now return the same directory on Windows. Note that in reality, code that really truly wants to support Windows as well as possible probably will not use these GLib functions anyway, but Win32 APIs directly to be sure what i...
9d80c361