aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2010-10-13 00:45:03 +0800
committerTravis Reitter <travis.reitter@collabora.co.uk>2010-10-16 05:14:45 +0800
commit4f39984ad575e8ee643e3cf52ad519386c23009e (patch)
tree2ea89c34660e7a6d1e610641cd6ce6aec7c6f8fd /libempathy-gtk
parent31905d995ddb96e2e25a795fa197cb541bc7724d (diff)
downloadgsoc2013-empathy-4f39984ad575e8ee643e3cf52ad519386c23009e.tar
gsoc2013-empathy-4f39984ad575e8ee643e3cf52ad519386c23009e.tar.gz
gsoc2013-empathy-4f39984ad575e8ee643e3cf52ad519386c23009e.tar.bz2
gsoc2013-empathy-4f39984ad575e8ee643e3cf52ad519386c23009e.tar.lz
gsoc2013-empathy-4f39984ad575e8ee643e3cf52ad519386c23009e.tar.xz
gsoc2013-empathy-4f39984ad575e8ee643e3cf52ad519386c23009e.tar.zst
gsoc2013-empathy-4f39984ad575e8ee643e3cf52ad519386c23009e.zip
Use Folks to check if a TpConnection can add personas.
Helps bgo#625969.
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-individual-dialogs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-dialogs.c b/libempathy-gtk/empathy-individual-dialogs.c
index edfb3fd48..85ed7d1d4 100644
--- a/libempathy-gtk/empathy-individual-dialogs.c
+++ b/libempathy-gtk/empathy-individual-dialogs.c
@@ -56,8 +56,7 @@ can_add_contact_to_account (TpAccount *account,
return FALSE;
individual_manager = empathy_individual_manager_dup_singleton ();
- result = empathy_individual_manager_get_flags_for_connection (
- individual_manager, connection) & EMPATHY_INDIVIDUAL_MANAGER_CAN_ADD;
+ result = empathy_connection_can_add_personas (connection);
g_object_unref (individual_manager);
return result;