aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-12 17:32:28 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-12 17:35:25 +0800
commit84dda47991e04e1db9c68b589f310662dd03527a (patch)
tree32db5f4e6f971902d4b27009f7bb5b2baddacf2a /libempathy-gtk
parent5f90792f29e4a474e37dffc2deafcb3e8e310831 (diff)
downloadgsoc2013-empathy-84dda47991e04e1db9c68b589f310662dd03527a.tar
gsoc2013-empathy-84dda47991e04e1db9c68b589f310662dd03527a.tar.gz
gsoc2013-empathy-84dda47991e04e1db9c68b589f310662dd03527a.tar.bz2
gsoc2013-empathy-84dda47991e04e1db9c68b589f310662dd03527a.tar.lz
gsoc2013-empathy-84dda47991e04e1db9c68b589f310662dd03527a.tar.xz
gsoc2013-empathy-84dda47991e04e1db9c68b589f310662dd03527a.tar.zst
gsoc2013-empathy-84dda47991e04e1db9c68b589f310662dd03527a.zip
contact-widget: use empathy_account_chooser_get_account
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 062bcebf4..f977cce1c 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -971,12 +971,11 @@ update_avatar_chooser_account_cb (EmpathyAccountChooser *account_chooser,
{
TpAccount *account;
- account = empathy_account_chooser_dup_account (account_chooser);
+ account = empathy_account_chooser_get_account (account_chooser);
if (account == NULL)
return;
empathy_avatar_chooser_set_account (avatar_chooser, account);
- g_object_unref (account);
}
static void