summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-13 12:01:36 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-16 11:03:55 +0200
commit0d7638c507a58911a29e45d7830326bf60aa55d9 (patch)
tree572b949f8c0b1138b8c6d93278b6fae5eae60766 /tests/lib
parent051440da4248dfcf378b9e37fffa13bb06db7a38 (diff)
Use new DelegateChannels() API
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/simple-channel-dispatcher.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/lib/simple-channel-dispatcher.c b/tests/lib/simple-channel-dispatcher.c
index b90348c7a..8f3eb3596 100644
--- a/tests/lib/simple-channel-dispatcher.c
+++ b/tests/lib/simple-channel-dispatcher.c
@@ -255,7 +255,14 @@ tp_tests_simple_channel_dispatcher_delegate_channels (
const gchar *preferred_handler,
DBusGMethodInvocation *context)
{
- tp_svc_channel_dispatcher_return_from_delegate_channels (context);
+ GHashTable *not_delegated;
+
+ not_delegated = g_hash_table_new (g_str_hash, g_str_equal);
+
+ tp_svc_channel_dispatcher_return_from_delegate_channels (context, channels,
+ not_delegated);
+
+ g_hash_table_unref (not_delegated);
}
static void