diff options
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-contact.c | 17 | ||||
-rw-r--r-- | libempathy/empathy-contact.h | 2 |
2 files changed, 0 insertions, 19 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index 7b7b55c1b..a891a6361 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -538,23 +538,6 @@ empathy_contact_from_tpl_contact (TpAccount *account, return retval; } -EmpathyContact * -empathy_contact_new_for_log (TpAccount *account, - const gchar *id, - const gchar *alias, - gboolean is_user) -{ - g_return_val_if_fail (id != NULL, NULL); - g_assert (account != NULL); - - return g_object_new (EMPATHY_TYPE_CONTACT, - "account", account, - "id", id, - "alias", alias, - "is-user", is_user, - NULL); -} - TpContact * empathy_contact_get_tp_contact (EmpathyContact *contact) { diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h index b6d5753d7..3c144a379 100644 --- a/libempathy/empathy-contact.h +++ b/libempathy/empathy-contact.h @@ -73,8 +73,6 @@ typedef enum { GType empathy_contact_get_type (void) G_GNUC_CONST; EmpathyContact * empathy_contact_from_tpl_contact (TpAccount *account, TplEntity *tpl_contact); -EmpathyContact * empathy_contact_new_for_log (TpAccount *account, - const gchar *id, const gchar *alias, gboolean is_user); TpContact * empathy_contact_get_tp_contact (EmpathyContact *contact); const gchar * empathy_contact_get_id (EmpathyContact *contact); void empathy_contact_set_id (EmpathyContact *contact, const gchar *id); |