]> git.0d.be Git - empathy.git/commitdiff
Remove unused empathy_tp_file_get_id
authorXavier Claessens <xclaesse@src.gnome.org>
Fri, 21 Nov 2008 16:23:30 +0000 (16:23 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 21 Nov 2008 16:23:30 +0000 (16:23 +0000)
svn path=/trunk/; revision=1887

libempathy/empathy-tp-file.c
libempathy/empathy-tp-file.h

index cc3c5a4b964a9c3aab307a35ec921e4df96878ba..509b860f9748aa0569ad1c78e9185cda7085d17d 100644 (file)
@@ -275,7 +275,6 @@ copy_stream (GInputStream *in,
 
 struct _EmpathyTpFilePriv {
   EmpathyContactFactory *factory;
-  gchar *id;
   MissionControl *mc;
   TpChannel *channel;
 
@@ -366,7 +365,6 @@ tp_file_finalize (GObject *object)
       g_object_unref (tp_file->priv->mc);
     }
 
-  g_free (tp_file->priv->id);
   g_free (tp_file->priv->filename);
   g_free (tp_file->priv->unix_socket_path);
   g_free (tp_file->priv->description);
@@ -684,22 +682,6 @@ empathy_tp_file_new (TpChannel *channel)
       NULL);
 }
 
-/**
- * empathy_tp_file_get_id:
- * @tp_file: an #EmpathyTpFile
- *
- * Returns the ID of @tp_file.
- *
- * Returns: the ID
- */
-const gchar *
-empathy_tp_file_get_id (EmpathyTpFile *tp_file)
-{
-  g_return_val_if_fail (EMPATHY_IS_TP_FILE (tp_file), NULL);
-
-  return tp_file->priv->id;
-}
-
 /**
  * empathy_tp_file_get_channel
  * @tp_file: an #EmpathyTpFile
index 34cbb7ff29153ff71f0f720190b6d94bb455164d..7c656d2aa6a0e9915a9c46f3443a5f8365cc1aa9 100644 (file)
@@ -73,7 +73,6 @@ void empathy_tp_file_cancel (EmpathyTpFile *tp_file);
 void empathy_tp_file_offer (EmpathyTpFile *tp_file, GFile *gfile,
   GError **error);
 
-const gchar *empathy_tp_file_get_id (EmpathyTpFile *tp_file);
 guint64 empathy_tp_file_get_transferred_bytes (EmpathyTpFile *tp_file);
 EmpathyContact *empathy_tp_file_get_contact (EmpathyTpFile *tp_file);
 const gchar *empathy_tp_file_get_filename (EmpathyTpFile *tp_file);