From 9d33f23f7615d118c685c5e6352492a4ee7703f6 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Tue, 5 May 2009 21:19:38 +0200 Subject: Cleanup after rebase v2 --- libempathy/empathy-tp-file.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libempathy') diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c index 7fa4548c9..a2a999b81 100644 --- a/libempathy/empathy-tp-file.c +++ b/libempathy/empathy-tp-file.c @@ -812,5 +812,15 @@ empathy_tp_file_is_incoming (EmpathyTpFile *tp_file) void empathy_tp_file_cancel (EmpathyTpFile *tp_file) { + g_return_if_fail (EMPATHY_IS_TP_FILE (tp_file)); + close_channel_internal (tp_file, TRUE); } + +void +empathy_tp_file_close (EmpathyTpFile *tp_file) +{ + g_return_if_fail (EMPATHY_IS_TP_FILE (tp_file)); + + close_channel_internal (tp_file, FALSE); +} -- cgit v1.2.3