summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-03-18 16:50:49 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-25 19:26:19 +0000
commitc88f8fa17ac2c36c88da57bd1eb25cf85211bae3 (patch)
treebf7ba9fdcf82afc81ee88a273d8a6ffa138b11b1
parente998a4d90bd3f1552b9710023d973cc708bed04e (diff)
add_handler_filter is now post-fixed with _variant
-rw-r--r--libempathy/empathy-auth-factory.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy/empathy-auth-factory.c b/libempathy/empathy-auth-factory.c
index 16711cd6..ef9256e5 100644
--- a/libempathy/empathy-auth-factory.c
+++ b/libempathy/empathy-auth-factory.c
@@ -632,13 +632,13 @@ empathy_auth_factory_constructed (GObject *obj)
tp_base_client_set_handler_bypass_approval (client, FALSE);
/* Handle ServerTLSConnection and ServerAuthentication channels */
- tp_base_client_add_handler_filter (client, g_variant_new_parsed (
+ tp_base_client_add_handler_filter_variant (client, g_variant_new_parsed (
"{ %s: <%s>, %s: <%u> }",
TP_PROP_CHANNEL_CHANNEL_TYPE,
TP_IFACE_CHANNEL_TYPE_SERVER_TLS_CONNECTION1,
TP_PROP_CHANNEL_TARGET_ENTITY_TYPE, (guint32) TP_ENTITY_TYPE_NONE));
- tp_base_client_add_handler_filter (client, g_variant_new_parsed (
+ tp_base_client_add_handler_filter_variant (client, g_variant_new_parsed (
"{ %s: <%s>, %s: <%s> }",
TP_PROP_CHANNEL_CHANNEL_TYPE,
TP_IFACE_CHANNEL_TYPE_SERVER_AUTHENTICATION1,
@@ -652,7 +652,7 @@ empathy_auth_factory_constructed (GObject *obj)
* sense. */
/* Observe ServerAuthentication channels */
- tp_base_client_add_observer_filter (client, g_variant_new_parsed (
+ tp_base_client_add_observer_filter_variant (client, g_variant_new_parsed (
"{ %s: <%s>, %s: <%s> }",
TP_PROP_CHANNEL_CHANNEL_TYPE,
TP_IFACE_CHANNEL_TYPE_SERVER_AUTHENTICATION1,