]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-tp-file.c
Removed empathy_tp_file_close as it was a duplicate of _cancel.
[empathy.git] / libempathy / empathy-tp-file.c
index 23f7c8c41c661a034a0dfebef216bca5e3ff8aac..a53bb23fe8e8eda3b92b057ac3d29ea4cdb606dc 100644 (file)
@@ -585,7 +585,7 @@ tp_file_got_contact_cb (EmpathyTpContactFactory *factory,
   if (error)
     {
       DEBUG ("Error: %s", error->message);
-      empathy_tp_file_close (tp_file);
+      empathy_tp_file_cancel (tp_file);
       return;
     }
 
@@ -1162,12 +1162,6 @@ empathy_tp_file_cancel (EmpathyTpFile *tp_file)
     g_cancellable_cancel (tp_file->priv->cancellable);
 }
 
-void
-empathy_tp_file_close (EmpathyTpFile *tp_file)
-{
-  empathy_tp_file_cancel (tp_file);
-}
-
 /**
  * empathy_tp_file_is_ready:
  * @tp_file: an #EmpathyTpFile