diff options
-rw-r--r-- | libempathy/empathy-tp-file.c | 18 | ||||
-rw-r--r-- | libempathy/empathy-tp-file.h | 1 |
2 files changed, 0 insertions, 19 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c index cc3c5a4b9..509b860f9 100644 --- a/libempathy/empathy-tp-file.c +++ b/libempathy/empathy-tp-file.c @@ -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); @@ -685,22 +683,6 @@ empathy_tp_file_new (TpChannel *channel) } /** - * 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 * diff --git a/libempathy/empathy-tp-file.h b/libempathy/empathy-tp-file.h index 34cbb7ff2..7c656d2aa 100644 --- a/libempathy/empathy-tp-file.h +++ b/libempathy/empathy-tp-file.h @@ -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); |