aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
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