diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-05-27 19:44:35 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-18 23:18:02 +0800 |
commit | 210388d6821d72dacd55063ad805857a27c14e3f (patch) | |
tree | 5f63bbf1372ac884ca939bdd41e90faa12ca0645 /libempathy-gtk/empathy-chat.c | |
parent | b0eb7b2baf39cd5a509668bc53e5e34d70cb255d (diff) | |
download | gsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.tar gsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.tar.gz gsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.tar.bz2 gsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.tar.lz gsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.tar.xz gsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.tar.zst gsoc2013-empathy-210388d6821d72dacd55063ad805857a27c14e3f.zip |
port to latest tp-logger API
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index e68b91dbe..43fabfb7d 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -2005,9 +2005,8 @@ got_filtered_messages_cb (GObject *manager, EmpathyChatPriv *priv = GET_PRIV (chat); GError *error = NULL; - messages = tpl_log_manager_get_filtered_messages_async_finish (result, &error); - - if (error != NULL) { + if (!tpl_log_manager_get_filtered_messages_finish (TPL_LOG_MANAGER (manager), + result, &messages, &error)) { DEBUG ("%s. Aborting.", error->message); empathy_chat_view_append_event (chat->view, _("Failed to retrieve recent logs")); |