summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-01-06 22:19:18 +0000
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-01-10 18:22:40 +0000
commit8a360611f67ba10f0a4189ef54fe644d822002d7 (patch)
tree409f317aeda786c4849a9f423e2accf6bd7da451 /src
parentc5f4cc13bb7d5460b8d3cd738eec6ffca0fb3629 (diff)
downloadtelepathy-logger-8a360611f67ba10f0a4189ef54fe644d822002d7.tar.gz
Adapt the tests to the API changes
Diffstat (limited to 'src')
-rw-r--r--src/test-api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test-api.c b/src/test-api.c
index f9eb004..558ce90 100644
--- a/src/test-api.c
+++ b/src/test-api.c
@@ -31,7 +31,7 @@
static GMainLoop *mainloop = NULL;
static void
-last_chats_cb (TpProxy *logger,
+last_events_cb (TpProxy *logger,
const GPtrArray *result,
const GError *error,
gpointer userdata,
@@ -102,9 +102,9 @@ main (int argc, char *argv[])
tp_proxy_add_interface_by_id (proxy, TPL_IFACE_QUARK_LOGGER);
- tpl_cli_logger_call_get_recent_messages (proxy, -1,
+ tpl_cli_logger_call_get_recent_events (proxy, -1,
account, identifer, FALSE, 5,
- last_chats_cb, NULL, NULL, NULL);
+ last_events_cb, NULL, NULL, NULL);
g_free (account);