telepathy-logger: log-store-xml: use _tpl_log_store_get_name()

Will Thompson wjt at kemper.freedesktop.org
Wed Jan 16 07:08:41 PST 2013


Module: telepathy-logger
Branch: master
Commit: 586e2c4b847e8c39a01b648ab24e4cbd44dae67d
URL:    http://cgit.freedesktop.org/telepathy/telepathy-logger/commit/?id=586e2c4b847e8c39a01b648ab24e4cbd44dae67d

Author: Will Thompson <will.thompson at collabora.co.uk>
Date:   Wed Jan 16 14:46:49 2013 +0000

log-store-xml: use _tpl_log_store_get_name()

By consistently using the wrapper function rather than calling our
implementation directly, subclassing won't break.

---

 telepathy-logger/log-store-xml.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/telepathy-logger/log-store-xml.c b/telepathy-logger/log-store-xml.c
index 0b25690..f9edc22 100644
--- a/telepathy-logger/log-store-xml.c
+++ b/telepathy-logger/log-store-xml.c
@@ -97,7 +97,6 @@ static void tpl_log_store_xml_get_property (GObject *object, guint param_id, GVa
     GParamSpec *pspec);
 static void tpl_log_store_xml_set_property (GObject *object, guint param_id, const GValue *value,
     GParamSpec *pspec);
-static const gchar *log_store_xml_get_name (TplLogStore *store);
 static const gchar *log_store_xml_get_basedir (TplLogStoreXml *self);
 static void log_store_xml_set_basedir (TplLogStoreXml *self,
     const gchar *data);
@@ -704,7 +703,7 @@ log_store_xml_add_event (TplLogStore *store,
     return add_call_event (self, TPL_CALL_EVENT (event), error);
 
   DEBUG ("TplEntry not handled by this LogStore (%s). "
-      "Ignoring Event", log_store_xml_get_name (store));
+      "Ignoring Event", _tpl_log_store_get_name (store));
   /* do not consider it an error, this LogStore simply do not want/need
    * this Event */
   return TRUE;
@@ -1776,7 +1775,7 @@ log_store_xml_get_basedir (TplLogStoreXml *self)
           user_data_dir = g_get_user_data_dir ();
         }
 
-      name = log_store_xml_get_name ((TplLogStore *) self);
+      name = _tpl_log_store_get_name ((TplLogStore *) self);
       dir = g_build_path (G_DIR_SEPARATOR_S, user_data_dir, name, "logs",
           NULL);
       log_store_xml_set_basedir (self, dir);



More information about the telepathy-commits mailing list