aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.c')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 43688e47c..b7f4a2696 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -972,7 +972,7 @@ update_avatar_chooser_account_cb (EmpathyAccountChooser *account_chooser,
TpConnection *connection;
connection = empathy_account_chooser_get_connection (account_chooser);
- g_object_set (avatar_chooser, "connection", connection, NULL);
+ empathy_avatar_chooser_set_connection (avatar_chooser, connection);
}
static void