From 586e2c4b847e8c39a01b648ab24e4cbd44dae67d Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Wed, 16 Jan 2013 14:46:49 +0000 Subject: 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 file 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); -- cgit v1.2.1