From 8efea52483150c801e88848981f5aaf94cc57538 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 21 Nov 2008 16:23:34 +0000 Subject: Cancel the FT if we can't get the transfer method svn path=/trunk/; revision=1888 --- libempathy/empathy-tp-file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); } + -- cgit v1.2.3