aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-25 21:32:19 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-25 21:34:02 +0800
commit5a2ab98b57182804fa6a04c21a9cb9fcbc79bf09 (patch)
tree062f838e2075f1be679bb518282f627fd22460fa /libempathy
parent5bfe5733ac4e743ec7c025a3c9f6551739e334d5 (diff)
downloadgsoc2013-empathy-5a2ab98b57182804fa6a04c21a9cb9fcbc79bf09.tar
gsoc2013-empathy-5a2ab98b57182804fa6a04c21a9cb9fcbc79bf09.tar.gz
gsoc2013-empathy-5a2ab98b57182804fa6a04c21a9cb9fcbc79bf09.tar.bz2
gsoc2013-empathy-5a2ab98b57182804fa6a04c21a9cb9fcbc79bf09.tar.lz
gsoc2013-empathy-5a2ab98b57182804fa6a04c21a9cb9fcbc79bf09.tar.xz
gsoc2013-empathy-5a2ab98b57182804fa6a04c21a9cb9fcbc79bf09.tar.zst
gsoc2013-empathy-5a2ab98b57182804fa6a04c21a9cb9fcbc79bf09.zip
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
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-server-tls-handler.c2
1 files changed, 1 insertions, 1 deletions
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);