From e700d8f398b27a98ef24476e3909570aa91c329a Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Thu, 16 Jul 2009 14:54:45 +0100 Subject: Put the logs in XDG_DATA_HOME instead of ~/.gnome2 --- libempathy/empathy-log-store-empathy.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libempathy') 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 #include +#include + #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; -- cgit v1.2.3