diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2013-01-16 14:46:49 +0000 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2013-01-16 14:46:49 +0000 |
commit | 586e2c4b847e8c39a01b648ab24e4cbd44dae67d (patch) | |
tree | e1288fca9981f0b07071baef5b71ea997b733592 | |
parent | 4603bd0549f7b246042522a04abdb0d5f6af3922 (diff) | |
download | telepathy-logger-586e2c4b847e8c39a01b648ab24e4cbd44dae67d.tar.gz |
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.
-rw-r--r-- | 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); |