aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-file.c
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-11-22 00:23:34 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-11-22 00:23:34 +0800
commitcebde15f6a1804ad34a65d47479447cc405e9b6f (patch)
tree2bf7e1b1cfb6a2e4d4c1852e5e99aba0dafb9889 /libempathy/empathy-tp-file.c
parentca58f6dffb3f9fdbf2c655714ce03e955d584ada (diff)
downloadgsoc2013-empathy-cebde15f6a1804ad34a65d47479447cc405e9b6f.tar
gsoc2013-empathy-cebde15f6a1804ad34a65d47479447cc405e9b6f.tar.gz
gsoc2013-empathy-cebde15f6a1804ad34a65d47479447cc405e9b6f.tar.bz2
gsoc2013-empathy-cebde15f6a1804ad34a65d47479447cc405e9b6f.tar.lz
gsoc2013-empathy-cebde15f6a1804ad34a65d47479447cc405e9b6f.tar.xz
gsoc2013-empathy-cebde15f6a1804ad34a65d47479447cc405e9b6f.tar.zst
gsoc2013-empathy-cebde15f6a1804ad34a65d47479447cc405e9b6f.zip
Cancel the FT if we can't get the transfer method
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1888 4ee84921-47dd-4033-b63a-18d7a039a3e4
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));
}
+