aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-file.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:24:52 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:24:52 +0800
commita3f01f0555324b9ef19ff4bf504d3ec200e8ea03 (patch)
tree7496867b7af81fbcc6ee82711a605f255c68bb58 /libempathy/empathy-tp-file.c
parent180c484c740bf37e5df3baadafdeaec8ec93f661 (diff)
downloadgsoc2013-empathy-a3f01f0555324b9ef19ff4bf504d3ec200e8ea03.tar
gsoc2013-empathy-a3f01f0555324b9ef19ff4bf504d3ec200e8ea03.tar.gz
gsoc2013-empathy-a3f01f0555324b9ef19ff4bf504d3ec200e8ea03.tar.bz2
gsoc2013-empathy-a3f01f0555324b9ef19ff4bf504d3ec200e8ea03.tar.lz
gsoc2013-empathy-a3f01f0555324b9ef19ff4bf504d3ec200e8ea03.tar.xz
gsoc2013-empathy-a3f01f0555324b9ef19ff4bf504d3ec200e8ea03.tar.zst
gsoc2013-empathy-a3f01f0555324b9ef19ff4bf504d3ec200e8ea03.zip
Cleanup of ft_manager_add_tp_file_to_list.
svn path=/trunk/; revision=1908
Diffstat (limited to 'libempathy/empathy-tp-file.c')
-rw-r--r--libempathy/empathy-tp-file.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c
index 420182f5f..9a6602ecc 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -935,6 +935,13 @@ empathy_tp_file_get_remaining_time (EmpathyTpFile *tp_file)
return (gint) remaining_time;
}
+const gchar *
+empathy_tp_file_get_content_type (EmpathyTpFile *tp_file)
+{
+ g_return_val_if_fail (EMPATHY_IS_TP_FILE (tp_file), NULL);
+ return tp_file->priv->content_type;
+}
+
void
empathy_tp_file_cancel (EmpathyTpFile *tp_file)
{