aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-file.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:23:34 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:23:34 +0800
commit8efea52483150c801e88848981f5aaf94cc57538 (patch)
tree2bf7e1b1cfb6a2e4d4c1852e5e99aba0dafb9889 /libempathy/empathy-tp-file.c
parentaff48320fa0c9d6292f72bde9106af53d536cfa9 (diff)
downloadgsoc2013-empathy-8efea52483150c801e88848981f5aaf94cc57538.tar
gsoc2013-empathy-8efea52483150c801e88848981f5aaf94cc57538.tar.gz
gsoc2013-empathy-8efea52483150c801e88848981f5aaf94cc57538.tar.bz2
gsoc2013-empathy-8efea52483150c801e88848981f5aaf94cc57538.tar.lz
gsoc2013-empathy-8efea52483150c801e88848981f5aaf94cc57538.tar.xz
gsoc2013-empathy-8efea52483150c801e88848981f5aaf94cc57538.tar.zst
gsoc2013-empathy-8efea52483150c801e88848981f5aaf94cc57538.zip
Cancel the FT if we can't get the transfer method
svn path=/trunk/; revision=1888
Diffstat (limited to 'libempathy/empathy-tp-file.c')
-rw-r--r--libempathy/empathy-tp-file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c
index 509b860f9..f3dbe935a 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -616,7 +616,6 @@ tp_file_channel_set_dbus_property (gpointer proxy,
NULL, NULL, NULL, NULL);
}
-
static void
tp_file_set_property (GObject *object,
guint param_id,
@@ -710,6 +709,7 @@ tp_file_method_cb (TpProxy *proxy,
if (error)
{
DEBUG ("Error: %s", error->message);
+ tp_cli_channel_call_close (tp_file->priv->channel, -1, NULL, NULL, NULL, NULL);
return;
}
@@ -968,3 +968,4 @@ empathy_tp_file_class_init (EmpathyTpFileClass *klass)
g_type_class_add_private (object_class, sizeof (EmpathyTpFilePriv));
}
+