diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-04-21 06:43:41 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-04-22 18:21:14 +0800 |
commit | 65ed272fef1016fff3403024e3417491ecf30015 (patch) | |
tree | 23cb0dabcc28a0d8b7155230462831f8894317a0 /libempathy/empathy-contact.h | |
parent | a5356f9c7ea9979f05a6752a848d944a9ed7264d (diff) | |
download | gsoc2013-empathy-65ed272fef1016fff3403024e3417491ecf30015.tar gsoc2013-empathy-65ed272fef1016fff3403024e3417491ecf30015.tar.gz gsoc2013-empathy-65ed272fef1016fff3403024e3417491ecf30015.tar.bz2 gsoc2013-empathy-65ed272fef1016fff3403024e3417491ecf30015.tar.lz gsoc2013-empathy-65ed272fef1016fff3403024e3417491ecf30015.tar.xz gsoc2013-empathy-65ed272fef1016fff3403024e3417491ecf30015.tar.zst gsoc2013-empathy-65ed272fef1016fff3403024e3417491ecf30015.zip |
Add empathy_contact_new_static() to create a contact that comes from logs
Diffstat (limited to 'libempathy/empathy-contact.h')
-rw-r--r-- | libempathy/empathy-contact.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h index 11f329ee5..0fab90462 100644 --- a/libempathy/empathy-contact.h +++ b/libempathy/empathy-contact.h @@ -68,6 +68,8 @@ typedef enum { GType empathy_contact_get_type (void) G_GNUC_CONST; EmpathyContact * empathy_contact_new (TpContact *tp_contact); +EmpathyContact * empathy_contact_new_static (McAccount *account, + const gchar *id, const gchar *name, 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); |