aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-ft-handler.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-05-04 07:26:15 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:47:37 +0800
commit7d5485549becfc095556d282f6622ce2b16caef0 (patch)
tree9eaee7f91a366c483756a2eaf95d6b0bbd8729a5 /libempathy/empathy-ft-handler.c
parent584de2350d0299bedcdb140cbb9adeb8a13ea42c (diff)
downloadgsoc2013-empathy-7d5485549becfc095556d282f6622ce2b16caef0.tar
gsoc2013-empathy-7d5485549becfc095556d282f6622ce2b16caef0.tar.gz
gsoc2013-empathy-7d5485549becfc095556d282f6622ce2b16caef0.tar.bz2
gsoc2013-empathy-7d5485549becfc095556d282f6622ce2b16caef0.tar.lz
gsoc2013-empathy-7d5485549becfc095556d282f6622ce2b16caef0.tar.xz
gsoc2013-empathy-7d5485549becfc095556d282f6622ce2b16caef0.tar.zst
gsoc2013-empathy-7d5485549becfc095556d282f6622ce2b16caef0.zip
Only close the FT operation after the state change
Close the FT operation only after the "completed" state change has been emitted, so that we can guarantee there will be no other progress signals emitted after TRANSFER_DONE. Also, add some other debug calls.
Diffstat (limited to 'libempathy/empathy-ft-handler.c')
-rw-r--r--libempathy/empathy-ft-handler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index c6babb820..f20e62834 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -350,6 +350,8 @@ ft_transfer_operation_callback (EmpathyTpFile *tp_file,
EmpathyFTHandler *handler = user_data;
EmpathyFTHandlerPriv *priv = GET_PRIV (handler);
+ DEBUG ("Transfer operation callback, error %p", error);
+
if (error != NULL)
{
priv->is_cancelled = TRUE;