empathy r1888 - trunk/libempathy



Author: xclaesse
Date: Fri Nov 21 16:23:34 2008
New Revision: 1888
URL: http://svn.gnome.org/viewvc/empathy?rev=1888&view=rev

Log:
Cancel the FT if we can't get the transfer method

Modified:
   trunk/libempathy/empathy-tp-file.c

Modified: trunk/libempathy/empathy-tp-file.c
==============================================================================
--- trunk/libempathy/empathy-tp-file.c	(original)
+++ trunk/libempathy/empathy-tp-file.c	Fri Nov 21 16:23:34 2008
@@ -616,7 +616,6 @@
             NULL, NULL, NULL, NULL);
 }
 
-
 static void
 tp_file_set_property (GObject *object,
                       guint param_id,
@@ -710,6 +709,7 @@
   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 @@
 
   g_type_class_add_private (object_class, sizeof (EmpathyTpFilePriv));
 }
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]