summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--telepathy-logger/channel-text.c4
-rw-r--r--telepathy-logger/log-manager-priv.h8
-rw-r--r--telepathy-logger/log-manager.c18
-rw-r--r--telepathy-logger/log-store.c2
-rw-r--r--tests/test-searches.c2
5 files changed, 17 insertions, 17 deletions
diff --git a/telepathy-logger/channel-text.c b/telepathy-logger/channel-text.c
index 8f71302..efecc7f 100644
--- a/telepathy-logger/channel-text.c
+++ b/telepathy-logger/channel-text.c
@@ -1206,7 +1206,7 @@ on_sent_signal_cb (TpChannel *proxy,
tpl_channel_text_is_chatroom (tpl_text));
logmanager = tpl_log_manager_dup_singleton ();
- tpl_log_manager_add_message (logmanager, TPL_LOG_ENTRY (log), &error);
+ _tpl_log_manager_add_message (logmanager, TPL_LOG_ENTRY (log), &error);
if (error != NULL)
{
@@ -1313,7 +1313,7 @@ keepon_on_receiving_signal (TplLogEntryText *log)
tpl_channel_text_is_chatroom (tpl_text));
logmanager = tpl_log_manager_dup_singleton ();
- tpl_log_manager_add_message (logmanager, TPL_LOG_ENTRY (log), &e);
+ _tpl_log_manager_add_message (logmanager, TPL_LOG_ENTRY (log), &e);
if (e != NULL)
{
DEBUG ("LogStore: %s", e->message);
diff --git a/telepathy-logger/log-manager-priv.h b/telepathy-logger/log-manager-priv.h
index e66f254..09136bb 100644
--- a/telepathy-logger/log-manager-priv.h
+++ b/telepathy-logger/log-manager-priv.h
@@ -28,16 +28,16 @@
#include <telepathy-logger/log-store-factory.h>
#include <telepathy-logger/log-store.h>
-gboolean tpl_log_manager_add_message (TplLogManager *manager,
+gboolean _tpl_log_manager_add_message (TplLogManager *manager,
TplLogEntry *message, GError **error);
-gboolean tpl_log_manager_add_message_async_finish (GAsyncResult *result,
+gboolean _tpl_log_manager_add_message_async_finish (GAsyncResult *result,
GError **error);
-void tpl_log_manager_add_message_async (TplLogManager *manager,
+void _tpl_log_manager_add_message_async (TplLogManager *manager,
TplLogEntry *message, GAsyncReadyCallback callback, gpointer user_data);
-gboolean tpl_log_manager_register_log_store (TplLogManager *self,
+gboolean _tpl_log_manager_register_log_store (TplLogManager *self,
TplLogStore *logstore);
#endif /* __TPL_LOG_MANAGER_PRIV_H__ */
diff --git a/telepathy-logger/log-manager.c b/telepathy-logger/log-manager.c
index c5d5ae9..5c8f5dc 100644
--- a/telepathy-logger/log-manager.c
+++ b/telepathy-logger/log-manager.c
@@ -160,7 +160,7 @@ add_log_store (TplLogManager *self,
if (store == NULL)
CRITICAL ("Error creating %s (name=%s)", g_type_name (type), name);
- else if (!tpl_log_manager_register_log_store (self, store))
+ else if (!_tpl_log_manager_register_log_store (self, store))
CRITICAL ("Failed to register store name=%s", name);
if (store != NULL)
@@ -204,7 +204,7 @@ tpl_log_manager_dup_singleton (void)
/**
- * tpl_log_manager_add_message
+ * _tpl_log_manager_add_message
* @manager: the log manager
* @message: a TplLogEntry subclass's instance
* @error: the memory location of GError, filled if an error occurs
@@ -220,7 +220,7 @@ tpl_log_manager_dup_singleton (void)
* Returns: %TRUE if the message has been successfully added, %FALSE otherwise.
*/
gboolean
-tpl_log_manager_add_message (TplLogManager *manager,
+_tpl_log_manager_add_message (TplLogManager *manager,
TplLogEntry *message,
GError **error)
{
@@ -266,7 +266,7 @@ tpl_log_manager_add_message (TplLogManager *manager,
/**
- * tpl_log_manager_register_log_store
+ * _tpl_log_manager_register_log_store
* @self: the log manager
* @logstore: a TplLogStore interface implementation
*
@@ -280,7 +280,7 @@ tpl_log_manager_add_message (TplLogManager *manager,
* #TplLogStore:readable is set to %TRUE.
*/
gboolean
-tpl_log_manager_register_log_store (TplLogManager *self,
+_tpl_log_manager_register_log_store (TplLogManager *self,
TplLogStore *logstore)
{
TplLogManagerPriv *priv = GET_PRIV (self);
@@ -779,7 +779,7 @@ _tpl_log_manager_async_operation_cb (GObject *source_object,
/* Start of add_message async implementation */
gboolean
-tpl_log_manager_add_message_async_finish (GAsyncResult *result,
+_tpl_log_manager_add_message_async_finish (GAsyncResult *result,
GError **error)
{
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
@@ -801,7 +801,7 @@ _add_message_async_thread (GSimpleAsyncResult *simple,
async_data = g_async_result_get_user_data (G_ASYNC_RESULT (simple));
chat_info = async_data->request;
- tpl_log_manager_add_message (async_data->manager, chat_info->logentry,
+ _tpl_log_manager_add_message (async_data->manager, chat_info->logentry,
&error);
if (error != NULL)
{
@@ -814,7 +814,7 @@ _add_message_async_thread (GSimpleAsyncResult *simple,
}
void
-tpl_log_manager_add_message_async (TplLogManager *manager,
+_tpl_log_manager_add_message_async (TplLogManager *manager,
TplLogEntry *message,
GAsyncReadyCallback callback,
gpointer user_data)
@@ -843,7 +843,7 @@ tpl_log_manager_add_message_async (TplLogManager *manager,
simple = g_simple_async_result_new (G_OBJECT (manager),
_tpl_log_manager_async_operation_cb, async_data,
- tpl_log_manager_add_message_async_finish);
+ _tpl_log_manager_add_message_async_finish);
g_simple_async_result_run_in_thread (simple, _add_message_async_thread, 0,
NULL);
diff --git a/telepathy-logger/log-store.c b/telepathy-logger/log-store.c
index 2e6d65b..789a6c1 100644
--- a/telepathy-logger/log-store.c
+++ b/telepathy-logger/log-store.c
@@ -81,7 +81,7 @@ tpl_log_store_init (gpointer g_iface)
*
* If an TplLogStore implementation is writable, the #TplLogManager will call
* it's tpl_log_store_add_message() method every time a loggable even occurs,
- * i.e., everytime tpl_log_manager_add_message() is called.
+ * i.e., everytime _tpl_log_manager_add_message() is called.
*/
g_object_interface_install_property (g_iface,
g_param_spec_boolean ("readable",
diff --git a/tests/test-searches.c b/tests/test-searches.c
index 6d22786..523aeb5 100644
--- a/tests/test-searches.c
+++ b/tests/test-searches.c
@@ -54,7 +54,7 @@ main (int argc, char *argv[])
manager = tpl_log_manager_dup_singleton ();
logstore = g_object_new (TPL_TYPE_LOG_STORE_XML,
"name", "Empathy", NULL);
- tpl_log_manager_register_log_store (manager, logstore);
+ _tpl_log_manager_register_log_store (manager, logstore);
/* we are using the blocking API, the non-blocking one is a wrap around, so
* it's assured to work as long as the blocking API and the wapper work */