aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index 693f86ea..570f60f3 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -1593,6 +1593,17 @@ const gchar *get_rc_dir(void)
return rc_dir;
}
+const gchar *get_old_rc_dir(void)
+{
+ static gchar *old_rc_dir = NULL;
+
+ if (!old_rc_dir)
+ old_rc_dir = g_strconcat(get_home_dir(), G_DIR_SEPARATOR_S,
+ OLD_RC_DIR, NULL);
+
+ return old_rc_dir;
+}
+
const gchar *get_news_cache_dir(void)
{
static gchar *news_cache_dir = NULL;