[empathy] server-tls-handler: fix the variant type when fetching ServerCertificate
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] server-tls-handler: fix the variant type when fetching ServerCertificate
- Date: Tue, 25 Sep 2012 13:45:06 +0000 (UTC)
commit 5a2ab98b57182804fa6a04c21a9cb9fcbc79bf09
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Sep 25 15:32:19 2012 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-server-tls-handler.c b/libempathy/empathy-server-tls-handler.c
index 14ab1ab..7a6bdf1 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]