aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-03-22 22:13:33 +0800
committerStef Walter <stefw@collabora.co.uk>2011-03-22 22:13:33 +0800
commit698675bdc1fbc7e6e622be24e272df7e70f34716 (patch)
tree9c60b40da2167e41cbcdccf3aadeb3a97996ad91
parentf1975e66ba22bfcfeeb2b1583143693a454aad89 (diff)
downloadgsoc2013-empathy-698675bdc1fbc7e6e622be24e272df7e70f34716.tar
gsoc2013-empathy-698675bdc1fbc7e6e622be24e272df7e70f34716.tar.gz
gsoc2013-empathy-698675bdc1fbc7e6e622be24e272df7e70f34716.tar.bz2
gsoc2013-empathy-698675bdc1fbc7e6e622be24e272df7e70f34716.tar.lz
gsoc2013-empathy-698675bdc1fbc7e6e622be24e272df7e70f34716.tar.xz
gsoc2013-empathy-698675bdc1fbc7e6e622be24e272df7e70f34716.tar.zst
gsoc2013-empathy-698675bdc1fbc7e6e622be24e272df7e70f34716.zip
Use telepathy property constants in server EmpathyServerTLSHandler
https://bugzilla.gnome.org/show_bug.cgi?id=645119
-rw-r--r--libempathy/empathy-server-tls-handler.c8
1 files changed, 4 insertions, 4 deletions
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 <telepathy-glib/interfaces.h>
#include <telepathy-glib/util.h>
#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);
}