]> git.0d.be Git - empathy.git/commitdiff
Remove empathy_contact_new_for_log()
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 23 Aug 2010 11:33:32 +0000 (12:33 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Tue, 24 Aug 2010 09:29:29 +0000 (10:29 +0100)
It was unused.

libempathy/empathy-contact.c
libempathy/empathy-contact.h

index 7b7b55c1bb2d32cf415fa19851f86254868f417b..a891a63614e6d867a5e2eda130e391b3ede7edb4 100644 (file)
@@ -538,23 +538,6 @@ empathy_contact_from_tpl_contact (TpAccount *account,
   return retval;
 }
 
   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)
 {
 TpContact *
 empathy_contact_get_tp_contact (EmpathyContact *contact)
 {
index b6d5753d7ddf46715f6aee8e04f356dfb25f51e6..3c144a3796646149771123f5d687c2b8eb1558fc 100644 (file)
@@ -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);
 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);
 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);