diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-01-02 05:29:21 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-01-02 05:29:21 +0800 |
commit | 6fd6f3b1081a5b72054ef135346da0d5eb979590 (patch) | |
tree | 99644087c07e90132cd3c07df505a64e2c3edc24 /libempathy/empathy-utils.h | |
parent | f4d9313a82b4ce88b87bba1427fdbece4f1d00ad (diff) | |
download | gsoc2013-empathy-6fd6f3b1081a5b72054ef135346da0d5eb979590.tar gsoc2013-empathy-6fd6f3b1081a5b72054ef135346da0d5eb979590.tar.gz gsoc2013-empathy-6fd6f3b1081a5b72054ef135346da0d5eb979590.tar.bz2 gsoc2013-empathy-6fd6f3b1081a5b72054ef135346da0d5eb979590.tar.lz gsoc2013-empathy-6fd6f3b1081a5b72054ef135346da0d5eb979590.tar.xz gsoc2013-empathy-6fd6f3b1081a5b72054ef135346da0d5eb979590.tar.zst gsoc2013-empathy-6fd6f3b1081a5b72054ef135346da0d5eb979590.zip |
Add convinience functions empathy_chat_with_contact() and empathy_chat_with_contact_id() to start a chat with a contact. Make use of it when appropriate.
svn path=/trunk/; revision=527
Diffstat (limited to 'libempathy/empathy-utils.h')
-rw-r--r-- | libempathy/empathy-utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h index 746e8de5b..1f3700d22 100644 --- a/libempathy/empathy-utils.h +++ b/libempathy/empathy-utils.h @@ -89,6 +89,10 @@ gchar * empathy_inspect_handle (McAccount *account, gchar * empathy_inspect_channel (McAccount *account, TpChan *tp_chan); void empathy_call_contact (EmpathyContact *contact); +void empathy_chat_with_contact (EmpathyContact *contact); +void empathy_chat_with_contact_id (McAccount *account, + const gchar *contact_id); + G_END_DECLS #endif /* __EMPATHY_UTILS_H__ */ |