[empathy/mc5: 102/483] Put the logs in XDG_DATA_HOME instead of ~/.gnome2



commit e700d8f398b27a98ef24476e3909570aa91c329a
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Thu Jul 16 14:54:45 2009 +0100

    Put the logs in XDG_DATA_HOME instead of ~/.gnome2

 libempathy/empathy-log-store-empathy.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-log-store-empathy.c b/libempathy/empathy-log-store-empathy.c
index abfb276..6fedf12 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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]