summaryrefslogtreecommitdiff
path: root/libempathy/empathy-avatar.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-avatar.c')
-rw-r--r--libempathy/empathy-avatar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy/empathy-avatar.c b/libempathy/empathy-avatar.c
index a38dcd6f7..efce645ba 100644
--- a/libempathy/empathy-avatar.c
+++ b/libempathy/empathy-avatar.c
@@ -22,6 +22,8 @@
#include "config.h"
+#include <telepathy-glib/util.h>
+
#include "empathy-avatar.h"
#include "empathy-utils.h"
#include "empathy-debug.h"
@@ -56,7 +58,7 @@ avatar_get_filename (const gchar *token)
NULL);
g_mkdir_with_parents (avatar_path, 0700);
- token_escaped = empathy_escape_as_identifier (token);
+ token_escaped = tp_escape_as_identifier (token);
avatar_file = g_build_filename (avatar_path, token_escaped, NULL);
g_free (token_escaped);