aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-16 21:54:45 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-16 21:54:45 +0800
commite700d8f398b27a98ef24476e3909570aa91c329a (patch)
tree8deaecb5ec62dc7bbdd7ac6c37d59af38a786b63 /libempathy
parentf8043f3f6ebdd8acee896f0b50f78f62b35d0fdf (diff)
downloadgsoc2013-empathy-e700d8f398b27a98ef24476e3909570aa91c329a.tar
gsoc2013-empathy-e700d8f398b27a98ef24476e3909570aa91c329a.tar.gz
gsoc2013-empathy-e700d8f398b27a98ef24476e3909570aa91c329a.tar.bz2
gsoc2013-empathy-e700d8f398b27a98ef24476e3909570aa91c329a.tar.lz
gsoc2013-empathy-e700d8f398b27a98ef24476e3909570aa91c329a.tar.xz
gsoc2013-empathy-e700d8f398b27a98ef24476e3909570aa91c329a.tar.zst
gsoc2013-empathy-e700d8f398b27a98ef24476e3909570aa91c329a.zip
Put the logs in XDG_DATA_HOME instead of ~/.gnome2
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-log-store-empathy.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libempathy/empathy-log-store-empathy.c b/libempathy/empathy-log-store-empathy.c
index abfb276e1..6fedf121a 100644
--- a/libempathy/empathy-log-store-empathy.c
+++ b/libempathy/empathy-log-store-empathy.c
@@ -29,6 +29,8 @@
#include <stdlib.h>
#include <glib/gstdio.h>
+#include <telepathy-glib/util.h>
+
#include "empathy-log-store.h"
#include "empathy-log-store-empathy.h"
#include "empathy-log-manager.h"
@@ -98,7 +100,7 @@ empathy_log_store_empathy_init (EmpathyLogStoreEmpathy *self)
self->priv = priv;
- priv->basedir = g_build_path (G_DIR_SEPERATOR_S, g_get_user_data_dir (),
+ priv->basedir = g_build_path (G_DIR_SEPARATOR_S, g_get_user_data_dir (),
PACKAGE_NAME, "logs", NULL);
priv->name = g_strdup ("Empathy");
@@ -111,7 +113,7 @@ log_store_empathy_get_dir (EmpathyLogStore *self,
const gchar *chat_id,
gboolean chatroom)
{
- const gchar *account_id;
+ gchar *account_id;
gchar *basedir;
EmpathyLogStoreEmpathyPriv *priv;