From 0ac4afe4ffd170309101271d4b0b5fde734b07e4 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 11 Apr 2008 13:11:01 +0000 Subject: Do not take McAccount as construct param, it can be found from the TpChannel svn path=/trunk/; revision=905 --- libempathy/empathy-tp-chat.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'libempathy/empathy-tp-chat.h') diff --git a/libempathy/empathy-tp-chat.h b/libempathy/empathy-tp-chat.h index 3e196fadf..9fa96a5f7 100644 --- a/libempathy/empathy-tp-chat.h +++ b/libempathy/empathy-tp-chat.h @@ -24,11 +24,9 @@ #include -#include +#include #include -#include - #include "empathy-message.h" #include "empathy-contact.h" @@ -55,14 +53,11 @@ struct _EmpathyTpChatClass { }; GType empathy_tp_chat_get_type (void) G_GNUC_CONST; -EmpathyTpChat *empathy_tp_chat_new (McAccount *account, - TpChan *tp_chan, +EmpathyTpChat *empathy_tp_chat_new (TpChannel *channel, gboolean acknowledge); -EmpathyTpChat *empathy_tp_chat_new_with_contact (EmpathyContact *contact); -McAccount * empathy_tp_chat_get_account (EmpathyTpChat *chat); -TpChan * empathy_tp_chat_get_channel (EmpathyTpChat *chat); const gchar * empathy_tp_chat_get_id (EmpathyTpChat *chat); EmpathyContact*empathy_tp_chat_get_remote_contact (EmpathyTpChat *chat); +McAccount * empathy_tp_chat_get_account (EmpathyTpChat *chat); gboolean empathy_tp_chat_is_ready (EmpathyTpChat *chat); void empathy_tp_chat_send (EmpathyTpChat *chat, EmpathyMessage *message); -- cgit v1.2.3