From 5a2ab98b57182804fa6a04c21a9cb9fcbc79bf09 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 25 Sep 2012 15:32:19 +0200 Subject: server-tls-handler: fix the variant type when fetching ServerCertificate g_variant_lookup() fails if we don't specificy that this string is secretly an object path. https://bugzilla.gnome.org/show_bug.cgi?id=684783 --- libempathy/empathy-server-tls-handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy/empathy-server-tls-handler.c') diff --git a/libempathy/empathy-server-tls-handler.c b/libempathy/empathy-server-tls-handler.c index 14ab1aba7..7a6bdf1ed 100644 --- a/libempathy/empathy-server-tls-handler.c +++ b/libempathy/empathy-server-tls-handler.c @@ -145,7 +145,7 @@ tls_handler_init_async (GAsyncInitable *initable, g_variant_lookup (properties, EMP_IFACE_CHANNEL_TYPE_SERVER_TLS_CONNECTION ".ServerCertificate", - "&s", &cert_object_path); + "&o", &cert_object_path); bus_name = tp_proxy_get_bus_name (TP_PROXY (priv->channel)); g_variant_unref (properties); -- cgit v1.2.3