diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2008-11-22 00:14:29 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:14:29 +0800 |
commit | 2536537dd891f81ce5aab2e8b7fc2f33a7d54c77 (patch) | |
tree | a58ff629f68f8322be2d24cf39c5f385a08ec553 /libempathy/empathy-utils.c | |
parent | 1ff7c439e8442d51024fbfcde2b1c11b8b17cf4f (diff) | |
download | gsoc2013-empathy-2536537dd891f81ce5aab2e8b7fc2f33a7d54c77.tar gsoc2013-empathy-2536537dd891f81ce5aab2e8b7fc2f33a7d54c77.tar.gz gsoc2013-empathy-2536537dd891f81ce5aab2e8b7fc2f33a7d54c77.tar.bz2 gsoc2013-empathy-2536537dd891f81ce5aab2e8b7fc2f33a7d54c77.tar.lz gsoc2013-empathy-2536537dd891f81ce5aab2e8b7fc2f33a7d54c77.tar.xz gsoc2013-empathy-2536537dd891f81ce5aab2e8b7fc2f33a7d54c77.tar.zst gsoc2013-empathy-2536537dd891f81ce5aab2e8b7fc2f33a7d54c77.zip |
Removed EmpathyTpFile and put everything into EmpathyFile. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1748
Diffstat (limited to 'libempathy/empathy-utils.c')
-rw-r--r-- | libempathy/empathy-utils.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c index 8fa56ad11..3123a9156 100644 --- a/libempathy/empathy-utils.c +++ b/libempathy/empathy-utils.c @@ -788,7 +788,6 @@ empathy_send_file_from_stream (EmpathyContact *contact, guint handle; gchar *object_path; TpChannel *channel; - EmpathyTpFile *tp_file; EmpathyFile *file; GError *error = NULL; GValue value = { 0 }; @@ -858,14 +857,12 @@ empathy_send_file_from_stream (EmpathyContact *contact, &value, NULL, NULL); g_value_unset (&value); - tp_file = empathy_tp_file_new (account, channel); - file = empathy_file_new (tp_file); + file = empathy_file_new (account, channel); if (file) { empathy_file_set_input_stream (file, in_stream); } - g_object_unref (tp_file); g_object_unref (mc); g_object_unref (connection); g_object_unref (channel); |