From 2536537dd891f81ce5aab2e8b7fc2f33a7d54c77 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 21 Nov 2008 16:14:29 +0000 Subject: Removed EmpathyTpFile and put everything into EmpathyFile. (Jonny Lamb) Signed-off-by: Jonny Lamb svn path=/trunk/; revision=1748 --- libempathy/empathy-utils.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libempathy/empathy-utils.c') 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); -- cgit v1.2.3