From 698675bdc1fbc7e6e622be24e272df7e70f34716 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 22 Mar 2011 15:13:33 +0100 Subject: Use telepathy property constants in server EmpathyServerTLSHandler https://bugzilla.gnome.org/show_bug.cgi?id=645119 --- libempathy/empathy-server-tls-handler.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (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 95c0b0a9a..31afa276c 100644 --- a/libempathy/empathy-server-tls-handler.c +++ b/libempathy/empathy-server-tls-handler.c @@ -20,6 +20,7 @@ #include "empathy-server-tls-handler.h" +#include #include #define DEBUG_FLAG EMPATHY_DEBUG_TLS @@ -120,13 +121,13 @@ tls_handler_init_async (GAsyncInitable *initable, properties = tp_channel_borrow_immutable_properties (priv->channel); hostname = tp_asv_get_string (properties, - EMP_IFACE_CHANNEL_TYPE_SERVER_TLS_CONNECTION ".Hostname"); + TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_HOSTNAME); priv->hostname = g_strdup (hostname); DEBUG ("Received hostname: %s", hostname); identities = tp_asv_get_strv (properties, - EMP_IFACE_CHANNEL_TYPE_SERVER_TLS_CONNECTION ".ReferenceIdentities"); + TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_REFERENCE_IDENTITIES); /* * If the channel doesn't implement the ReferenceIdentities parameter @@ -279,8 +280,7 @@ empathy_server_tls_handler_class_init (EmpathyServerTLSHandlerClass *klass) pspec = g_param_spec_boxed ("reference-identities", "Reference Identities", "The server certificate should certify one of these identities", - G_TYPE_STRV, - G_PARAM_READABLE | G_PARAM_STATIC_STRINGS); + G_TYPE_STRV, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS); g_object_class_install_property (oclass, PROP_REFERENCE_IDENTITIES, pspec); } -- cgit v1.2.3