From 6fd6f3b1081a5b72054ef135346da0d5eb979590 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 1 Jan 2008 21:29:21 +0000 Subject: 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 --- libempathy/empathy-utils.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libempathy/empathy-utils.h') 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__ */ -- cgit v1.2.3