X-Git-Url: https://git.0d.be/?p=empathy.git;a=blobdiff_plain;f=libempathy-gtk%2Fempathy-contact-chooser.c;h=05dbe3449a21baa7bc89a2e8e821e22d93e700bf;hp=dd81dde419c38e5c11ad9b8a1c11f8a4abeed3a1;hb=f815a6b963bcb7ed8ca2e2c24b66e1858f0e01a0;hpb=0d137b74e57840bd85f090becd4144f62c89d6ab diff --git a/libempathy-gtk/empathy-contact-chooser.c b/libempathy-gtk/empathy-contact-chooser.c index dd81dde4..05dbe344 100644 --- a/libempathy-gtk/empathy-contact-chooser.c +++ b/libempathy-gtk/empathy-contact-chooser.c @@ -213,7 +213,7 @@ get_contacts_cb (GObject *source, GError *error = NULL; FolksIndividual *individual; TpContact *contact; - EmpathyContact *emp_contact; + EmpathyContact *emp_contact = NULL; self = tp_weak_ref_dup_object (wr); if (self == NULL) @@ -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; @@ -312,7 +312,7 @@ search_text_changed (GtkEntry *entry, id = gtk_entry_get_text (entry); - self->priv->search_words = empathy_live_search_strip_utf8_string (id); + self->priv->search_words = tpaw_live_search_strip_utf8_string (id); self->priv->search_str = g_strdup (id); add_temporary_individuals (self, id);