else if (new_status != TelepathyGLib.ConnectionStatus.CONNECTED)
return;
- var conn = this.account.get_connection ();
+ var conn = this.account.connection;
conn.notify["connection-ready"].connect (this.connection_ready_cb);
/* Deal with the case where the connection is already ready
{
/* the changes queued above will be resolve in the NewChannels handler
*/
- this.ll.connection_create_group_async (this.account.get_connection (),
+ this.ll.connection_create_group_async (this.account.connection,
group);
}
else
throw new Tpf.PersonaError.INVALID_ARGUMENT ("contact has an " +
"invalid ID");
- unowned Connection connection = contact.get_connection ();
+ unowned Connection connection = contact.connection;
var account = account_for_connection (connection);
string uid = this.build_uid ("telepathy", account.get_protocol (), id);
accounts.foreach ((l) =>
{
unowned Account account = (Account) l;
- if (account.get_connection () == conn)
+ if (account.connection == conn)
{
account_found = account;
return;
private void contact_notify_avatar ()
{
- var file = this.contact.get_avatar_file ();
+ var file = this.contact.avatar_file;
if (this.avatar != file)
this.avatar = file;
}