summaryrefslogtreecommitdiff
path: root/telepathy-glib/simple-password-manager.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-07 14:08:50 +0100
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-06-04 13:43:09 +0200
commit97755a8cef146519f688054d1bafe22f40bc17ff (patch)
treeee127497da1e27b548da8e8aa37d85aec06b6369 /telepathy-glib/simple-password-manager.c
parent5f90a8dd35be28392615de7ba15f1d552ea5c477 (diff)
downloadtelepathy-glib-97755a8cef146519f688054d1bafe22f40bc17ff.tar.gz
Use accessors rather than accessing TpBaseConnection fields directly
Diffstat (limited to 'telepathy-glib/simple-password-manager.c')
-rw-r--r--telepathy-glib/simple-password-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-glib/simple-password-manager.c b/telepathy-glib/simple-password-manager.c
index 9aedb5de2..4239a9a4c 100644
--- a/telepathy-glib/simple-password-manager.c
+++ b/telepathy-glib/simple-password-manager.c
@@ -430,7 +430,7 @@ tp_simple_password_manager_prompt_async (
{
TpSimplePasswordManagerPrivate *priv = self->priv;
gchar *object_path = g_strdup_printf ("%s/BasePasswordChannel",
- priv->conn->object_path);
+ tp_base_connection_get_object_path (priv->conn));
TpBasePasswordChannel *channel;
GSimpleAsyncResult *result = g_simple_async_result_new (G_OBJECT (self),
callback, user_data, tp_simple_password_manager_prompt_async);
@@ -440,7 +440,7 @@ tp_simple_password_manager_prompt_async (
"object-path", object_path,
"handle", 0,
"requested", FALSE,
- "initiator-handle", priv->conn->self_handle,
+ "initiator-handle", tp_base_connection_get_self_handle (priv->conn),
NULL);
tp_simple_password_manager_prompt_common_async (self, channel, result);