summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-01-02 23:14:13 -0500
committerTingPing <tingping@tingping.se>2013-01-02 23:14:13 -0500
commit599b07497b3130e3bb426d22e568ea7bb007b5c6 (patch)
treeaf780c222f9d442304e4afe4355a1d66cbe72459
parent7f2846a5bddbfaf78e99b303db4c9152460bb4d3 (diff)
use g_get_user_config_dir
-rw-r--r--src/common/cfgfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index 6748fbbd..438361c1 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -330,7 +330,7 @@ get_xdir (void)
 			xdir = g_strdup_printf ("%s\\" "HexChat", out);
 		}
 #else
-		xdir = g_strdup_printf ("%s/.config/" HEXCHAT_DIR, g_get_home_dir ());
+		xdir = g_strdup_printf ("%s/" HEXCHAT_DIR, g_get_user_config_dir ());
 #endif
 	}