diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2009-05-06 03:19:38 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-06-01 23:47:40 +0800 |
commit | 9d33f23f7615d118c685c5e6352492a4ee7703f6 (patch) | |
tree | 7fc2414a1c55815fce8f0d819548c6364e0491c0 /libempathy/empathy-tp-file.c | |
parent | 3d6b55954ec8fe6fd037f78f3114bdf6f6952e1a (diff) | |
download | gsoc2013-empathy-9d33f23f7615d118c685c5e6352492a4ee7703f6.tar gsoc2013-empathy-9d33f23f7615d118c685c5e6352492a4ee7703f6.tar.gz gsoc2013-empathy-9d33f23f7615d118c685c5e6352492a4ee7703f6.tar.bz2 gsoc2013-empathy-9d33f23f7615d118c685c5e6352492a4ee7703f6.tar.lz gsoc2013-empathy-9d33f23f7615d118c685c5e6352492a4ee7703f6.tar.xz gsoc2013-empathy-9d33f23f7615d118c685c5e6352492a4ee7703f6.tar.zst gsoc2013-empathy-9d33f23f7615d118c685c5e6352492a4ee7703f6.zip |
Cleanup after rebase v2
Diffstat (limited to 'libempathy/empathy-tp-file.c')
-rw-r--r-- | libempathy/empathy-tp-file.c | 10 |
1 files changed, 10 insertions, 0 deletions
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); +} |