diff options
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-utils.c | 20 | ||||
-rw-r--r-- | libempathy/empathy-utils.h | 3 |
2 files changed, 0 insertions, 23 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c index 4555d4144..9ee9606cc 100644 --- a/libempathy/empathy-utils.c +++ b/libempathy/empathy-utils.c @@ -946,26 +946,6 @@ create_individual_from_persona (FolksPersona *persona) return individual; } -FolksIndividual * -empathy_create_individual_from_tp_contact (TpContact *contact) -{ - TpfPersona *persona; - FolksIndividual *individual; - - persona = tpf_persona_dup_for_contact (contact); - if (persona == NULL) - { - DEBUG ("Failed to get a persona for %s", - tp_contact_get_identifier (contact)); - return NULL; - } - - individual = create_individual_from_persona (FOLKS_PERSONA (persona)); - - g_object_unref (persona); - return individual; -} - /* Look for a FolksIndividual containing @contact as one of his persona * and create one if needed */ FolksIndividual * diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h index 40291b971..a9ff0d890 100644 --- a/libempathy/empathy-utils.h +++ b/libempathy/empathy-utils.h @@ -102,9 +102,6 @@ void empathy_individual_can_audio_video_call (FolksIndividual *individual, gboolean empathy_client_types_contains_mobile_device ( const GStrv types); -FolksIndividual * empathy_create_individual_from_tp_contact ( - TpContact *contact); - FolksIndividual * empathy_ensure_individual_from_tp_contact ( TpContact *contact); |