aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:23:30 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:23:30 +0800
commitaff48320fa0c9d6292f72bde9106af53d536cfa9 (patch)
tree1bd82b85106abbe112382e85657c00b8489ca863 /libempathy
parente5284f4fb3bd01bd623da9b7db9830ac776ae0fb (diff)
downloadgsoc2013-empathy-aff48320fa0c9d6292f72bde9106af53d536cfa9.tar
gsoc2013-empathy-aff48320fa0c9d6292f72bde9106af53d536cfa9.tar.gz
gsoc2013-empathy-aff48320fa0c9d6292f72bde9106af53d536cfa9.tar.bz2
gsoc2013-empathy-aff48320fa0c9d6292f72bde9106af53d536cfa9.tar.lz
gsoc2013-empathy-aff48320fa0c9d6292f72bde9106af53d536cfa9.tar.xz
gsoc2013-empathy-aff48320fa0c9d6292f72bde9106af53d536cfa9.tar.zst
gsoc2013-empathy-aff48320fa0c9d6292f72bde9106af53d536cfa9.zip
Remove unused empathy_tp_file_get_id
svn path=/trunk/; revision=1887
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-file.c18
-rw-r--r--libempathy/empathy-tp-file.h1
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);