aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-07-27 21:16:40 +0800
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-07-30 14:56:45 +0800
commit9c9fcb09c9dd2523fc53858d84b44eb19fd1a7bf (patch)
tree9a434c1d0375a08a9e5e4defe0e5d6b2c6aa9e74 /src/empathy-accounts-dialog.c
parent4b23cccc6b57759cc17ca493e1153b71f1636c07 (diff)
downloadgsoc2013-empathy-9c9fcb09c9dd2523fc53858d84b44eb19fd1a7bf.tar
gsoc2013-empathy-9c9fcb09c9dd2523fc53858d84b44eb19fd1a7bf.tar.gz
gsoc2013-empathy-9c9fcb09c9dd2523fc53858d84b44eb19fd1a7bf.tar.bz2
gsoc2013-empathy-9c9fcb09c9dd2523fc53858d84b44eb19fd1a7bf.tar.lz
gsoc2013-empathy-9c9fcb09c9dd2523fc53858d84b44eb19fd1a7bf.tar.xz
gsoc2013-empathy-9c9fcb09c9dd2523fc53858d84b44eb19fd1a7bf.tar.zst
gsoc2013-empathy-9c9fcb09c9dd2523fc53858d84b44eb19fd1a7bf.zip
EmpathyContactWidget: Stop using EmpathyAvatarChooser
Changing avatar is only used for editing user's information, and it will soon be replaced by a dedicated widget. This is done to make easier to change EmpathyAvatarChooser's API before introducing the new widget. https://bugzilla.gnome.org/show_bug.cgi?id=680449
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index ecbcbf00e..92d0ffcc4 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -799,7 +799,6 @@ create_contact_info_editor (EmpathyAccountsDialog *self,
GtkWidget *editor, *alig;
EmpathyContact *contact;
EmpathyContactWidgetFlags flags;
- TpConnection *conn;
contact = empathy_contact_dup_from_tp_contact (tp_contact);
@@ -810,11 +809,6 @@ create_contact_info_editor (EmpathyAccountsDialog *self,
EMPATHY_CONTACT_WIDGET_EDIT_DETAILS |
EMPATHY_CONTACT_WIDGET_NO_ACCOUNT;
- conn = tp_contact_get_connection (tp_contact);
- if (tp_proxy_has_interface_by_id (conn,
- TP_IFACE_QUARK_CONNECTION_INTERFACE_AVATARS))
- flags |= EMPATHY_CONTACT_WIDGET_EDIT_AVATAR;
-
/* create the contact info editor for this account */
editor = empathy_contact_widget_new (contact, flags);