]> git.0d.be Git - empathy.git/commit - libempathy/empathy-tp-chat.c
tp-chat: stop setting the TpAccount during construction
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 27 Jun 2012 09:05:18 +0000 (11:05 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 27 Jun 2012 09:41:26 +0000 (11:41 +0200)
commitc3c7502b206eb550c08e8a9271a4087d855038df
treea1d1400a8cf2a9279c20241a0aeba37c1b12d4c5
parent81a65a9ab520396d5ba6eb4085b4ab653bec547c
tp-chat: stop setting the TpAccount during construction

It doesn't have to be a property any more, we can just get it from the
TpConnection when we need it.

Should fix a race crash when the TpAccount of the TpConnection is not set yet;
see fdo#51444.

https://bugzilla.gnome.org/show_bug.cgi?id=678807
libempathy/empathy-client-factory.c
libempathy/empathy-tp-chat.c
libempathy/empathy-tp-chat.h