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-27 10:32:14 +0000
commit4ba745b58a640dcff0a150c0c6d01d43a8ae6a20 (patch)
treecc211401342f55a3a21fd3f6609797917b20233f
parent82af1714f84e0c399b7984d51d89a6118cf271ed (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,