aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-chooser.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2013-11-22 02:09:16 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2013-11-25 18:51:53 +0800
commit96f2a474e0cdc5f8fe8a482d14a1a97c519def3a (patch)
treeeab3cbdb8cc7f9d79c1f309f1c1fcdf7731facb7 /libempathy-gtk/empathy-contact-chooser.c
parent8defe68d6698b61146f4c91aa7fed82babc5a868 (diff)
downloadgsoc2013-empathy-96f2a474e0cdc5f8fe8a482d14a1a97c519def3a.tar
gsoc2013-empathy-96f2a474e0cdc5f8fe8a482d14a1a97c519def3a.tar.gz
gsoc2013-empathy-96f2a474e0cdc5f8fe8a482d14a1a97c519def3a.tar.bz2
gsoc2013-empathy-96f2a474e0cdc5f8fe8a482d14a1a97c519def3a.tar.lz
gsoc2013-empathy-96f2a474e0cdc5f8fe8a482d14a1a97c519def3a.tar.xz
gsoc2013-empathy-96f2a474e0cdc5f8fe8a482d14a1a97c519def3a.tar.zst
gsoc2013-empathy-96f2a474e0cdc5f8fe8a482d14a1a97c519def3a.zip
libempathy: Remove empathy_create_individual_from_tp_contact()
It has been replaced by empathy_ensure_individual_from_tp_contact(), which can’t cause internal state corruption in libfolks by wrapping an existing Persona in a second Individual when it’s already wrapped in one. This has also been fixed in libfolks. See: https://bugzilla.redhat.com/show_bug.cgi?id=1031252 https://bugzilla.gnome.org/show_bug.cgi?id=712839
Diffstat (limited to 'libempathy-gtk/empathy-contact-chooser.c')
-rw-r--r--libempathy-gtk/empathy-contact-chooser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-chooser.c b/libempathy-gtk/empathy-contact-chooser.c
index e31b22fe1..b82aa93a1 100644
--- a/libempathy-gtk/empathy-contact-chooser.c
+++ b/libempathy-gtk/empathy-contact-chooser.c
@@ -232,7 +232,7 @@ get_contacts_cb (GObject *source,
/* another request has been started */
goto out;
- individual = empathy_create_individual_from_tp_contact (contact);
+ individual = empathy_ensure_individual_from_tp_contact (contact);
if (individual == NULL)
goto out;