about summary refs log tree commit diff stats
path: root/src/otr
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-07-24 17:12:09 +0100
committerJames Booth <boothj5@gmail.com>2016-07-24 17:12:09 +0100
commit29452f8f1b8f7a61773905169b3883f1b494c786 (patch)
treeaf43bbb2007b9a69f03c38503d9e612156408839 /src/otr
parent6cc4abedc58f294ccb36632cb86464c247687288 (diff)
downloadprofani-tty-29452f8f1b8f7a61773905169b3883f1b494c786.tar.gz
Move xgd functions
Diffstat (limited to 'src/otr')
-rw-r--r--src/otr/otr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/otr/otr.c b/src/otr/otr.c
index 3e4a90fc..955e60fa 100644
--- a/src/otr/otr.c
+++ b/src/otr/otr.c
@@ -126,7 +126,7 @@ cb_write_fingerprints(void *opdata)
 {
     gcry_error_t err = 0;
 
-    gchar *data_home = xdg_get_data_home();
+    gchar *data_home = files_get_xdg_data_home();
     GString *basedir = g_string_new(data_home);
     free(data_home);
 
@@ -215,7 +215,7 @@ otr_on_connect(ProfAccount *account)
     jid = strdup(account->jid);
     log_info("Loading OTR key for %s", jid);
 
-    gchar *data_home = xdg_get_data_home();
+    gchar *data_home = files_get_xdg_data_home();
     GString *basedir = g_string_new(data_home);
     free(data_home);
 
@@ -393,7 +393,7 @@ otr_keygen(ProfAccount *account)
     jid = strdup(account->jid);
     log_info("Generating OTR key for %s", jid);
 
-    gchar *data_home = xdg_get_data_home();
+    gchar *data_home = files_get_xdg_data_home();
     GString *basedir = g_string_new(data_home);
     free(data_home);