From 84dda47991e04e1db9c68b589f310662dd03527a Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 12 Apr 2010 11:32:28 +0200 Subject: contact-widget: use empathy_account_chooser_get_account --- libempathy-gtk/empathy-contact-widget.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libempathy-gtk/empathy-contact-widget.c') 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 -- cgit v1.2.3