From 79697ab1fc4f90646bc3495514d6e30585a2f97f Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 6 Mar 2009 11:51:58 +0000 Subject: Only write messages to one specified log source, hardcoded at the moment. Signed-off-by: Jonny Lamb svn path=/trunk/; revision=2590 --- libempathy/empathy-log-source.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'libempathy/empathy-log-source.c') diff --git a/libempathy/empathy-log-source.c b/libempathy/empathy-log-source.c index 4080d5a6c..f1e37fa79 100644 --- a/libempathy/empathy-log-source.c +++ b/libempathy/empathy-log-source.c @@ -68,17 +68,18 @@ empathy_log_source_exists (EmpathyLogSource *self, -void +gboolean empathy_log_source_add_message (EmpathyLogSource *self, const gchar *chat_id, gboolean chatroom, - EmpathyMessage *message) + EmpathyMessage *message, + GError **error) { if (!EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->add_message) - return; + return FALSE; - EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->add_message ( - self, chat_id, chatroom, message); + return EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->add_message ( + self, chat_id, chatroom, message, error); } GList * -- cgit v1.2.3