From aff48320fa0c9d6292f72bde9106af53d536cfa9 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 21 Nov 2008 16:23:30 +0000 Subject: Remove unused empathy_tp_file_get_id svn path=/trunk/; revision=1887 --- libempathy/empathy-tp-file.c | 18 ------------------ libempathy/empathy-tp-file.h | 1 - 2 files changed, 19 deletions(-) (limited to 'libempathy') 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); @@ -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 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); -- cgit v1.2.3