summaryrefslogtreecommitdiff
path: root/examples/cm/contactlist/conn.c
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-05-11 11:38:56 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-05-14 13:16:53 +0200
commit3e32871818816a80c9e85893b3866b5112703170 (patch)
tree3f1aa1d3a2e03c355764dba4729b7ef063bb6c11 /examples/cm/contactlist/conn.c
parent7375f719208943f292239319e90c86e4129b1151 (diff)
Don't set TpBaseConnection:self_handle struct member directly
The setter does more things
Diffstat (limited to 'examples/cm/contactlist/conn.c')
-rw-r--r--examples/cm/contactlist/conn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cm/contactlist/conn.c b/examples/cm/contactlist/conn.c
index c033d420c..0f7314a12 100644
--- a/examples/cm/contactlist/conn.c
+++ b/examples/cm/contactlist/conn.c
@@ -218,8 +218,8 @@ start_connecting (TpBaseConnection *conn,
* start connecting, then go to state CONNECTED when finished, but here
* we can do it immediately. */
- conn->self_handle = tp_handle_ensure (contact_repo, self->priv->account,
- NULL, error);
+ tp_base_connection_set_self_handle (conn,
+ tp_handle_ensure (contact_repo, self->priv->account, NULL, error));
if (conn->self_handle == 0)
return FALSE;