diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-08-23 19:33:32 +0800 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-08-24 17:29:29 +0800 |
commit | 597f34ccdbe2000aad148147d9ecafb3e17c9e0a (patch) | |
tree | 5d6949e6cb977ad41d85a429c08952d4cf7fed06 | |
parent | c71c43c5756061e2e3d877aa47078140b518e3fa (diff) | |
download | gsoc2013-empathy-597f34ccdbe2000aad148147d9ecafb3e17c9e0a.tar gsoc2013-empathy-597f34ccdbe2000aad148147d9ecafb3e17c9e0a.tar.gz gsoc2013-empathy-597f34ccdbe2000aad148147d9ecafb3e17c9e0a.tar.bz2 gsoc2013-empathy-597f34ccdbe2000aad148147d9ecafb3e17c9e0a.tar.lz gsoc2013-empathy-597f34ccdbe2000aad148147d9ecafb3e17c9e0a.tar.xz gsoc2013-empathy-597f34ccdbe2000aad148147d9ecafb3e17c9e0a.tar.zst gsoc2013-empathy-597f34ccdbe2000aad148147d9ecafb3e17c9e0a.zip |
Remove empathy_contact_new_for_log()
It was unused.
-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); |