[empathy] contact-widget: use empathy_account_chooser_get_account
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] contact-widget: use empathy_account_chooser_get_account
- Date: Mon, 12 Apr 2010 09:37:15 +0000 (UTC)
commit 84dda47991e04e1db9c68b589f310662dd03527a
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Apr 12 11:32:28 2010 +0200
contact-widget: use empathy_account_chooser_get_account
libempathy-gtk/empathy-contact-widget.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 062bceb..f977cce 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]