diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-03-06 19:51:58 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-03-06 19:51:58 +0800 |
commit | 79697ab1fc4f90646bc3495514d6e30585a2f97f (patch) | |
tree | 1dcea2b1e0d93f5db992084c449635bfcc961876 /libempathy/empathy-log-source.c | |
parent | d53b22689f12218cfa3b5f72fb936dd01dd08885 (diff) | |
download | gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.tar gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.tar.gz gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.tar.bz2 gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.tar.lz gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.tar.xz gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.tar.zst gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.zip |
Only write messages to one specified log source, hardcoded at the moment.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=2590
Diffstat (limited to 'libempathy/empathy-log-source.c')
-rw-r--r-- | libempathy/empathy-log-source.c | 11 |
1 files changed, 6 insertions, 5 deletions
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 * |