Use g_get_home_dir() to get the home directory of the current user. This will be portable to win32.
Attach a file by drag & drop or click to upload