diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-07 14:08:50 +0100 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-06-04 13:43:09 +0200 |
commit | 97755a8cef146519f688054d1bafe22f40bc17ff (patch) | |
tree | ee127497da1e27b548da8e8aa37d85aec06b6369 /telepathy-glib/contact-list-channel.c | |
parent | 5f90a8dd35be28392615de7ba15f1d552ea5c477 (diff) | |
download | telepathy-glib-97755a8cef146519f688054d1bafe22f40bc17ff.tar.gz |
Use accessors rather than accessing TpBaseConnection fields directly
Diffstat (limited to 'telepathy-glib/contact-list-channel.c')
-rw-r--r-- | telepathy-glib/contact-list-channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/telepathy-glib/contact-list-channel.c b/telepathy-glib/contact-list-channel.c index 6346da8b3..7344ec04d 100644 --- a/telepathy-glib/contact-list-channel.c +++ b/telepathy-glib/contact-list-channel.c @@ -110,7 +110,8 @@ tp_base_contact_list_channel_constructed (GObject *object) tp_base_channel_register (base); tp_group_mixin_init (object, G_STRUCT_OFFSET (TpBaseContactListChannel, - group), contact_repo, conn->self_handle); + group), contact_repo, + tp_base_connection_get_self_handle (conn)); /* Both the subclasses have full support for telepathy-spec 0.17.6. */ tp_group_mixin_change_flags (object, TP_CHANNEL_GROUP_FLAG_PROPERTIES, 0); |