changeset 28694:650ba1c84049

msn_xfer_progress_cb is no longer used.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 20 Nov 2009 01:18:28 +0000
parents 6aea98f6a5cd
children ff5d8b8de895
files libpurple/protocols/msn/slp.c libpurple/protocols/msn/slp.h
diffstat 2 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slp.c	Fri Nov 20 01:17:51 2009 +0000
+++ b/libpurple/protocols/msn/slp.c	Fri Nov 20 01:18:28 2009 +0000
@@ -182,19 +182,6 @@
 }
 
 void
-msn_xfer_progress_cb(MsnSlpCall *slpcall, gsize total_length, gsize len, gsize offset)
-{
-	PurpleXfer *xfer;
-
-	xfer = slpcall->xfer;
-
-	xfer->bytes_sent = (offset + len);
-	xfer->bytes_remaining = total_length - (offset + len);
-
-	purple_xfer_update_progress(xfer);
-}
-
-void
 msn_xfer_end_cb(MsnSlpCall *slpcall, MsnSession *session)
 {
 	if ((purple_xfer_get_status(slpcall->xfer) != PURPLE_XFER_STATUS_DONE) &&
--- a/libpurple/protocols/msn/slp.h	Fri Nov 20 01:17:51 2009 +0000
+++ b/libpurple/protocols/msn/slp.h	Fri Nov 20 01:18:28 2009 +0000
@@ -29,9 +29,6 @@
 #include "internal.h"
 #include "ft.h"
 
-void msn_xfer_progress_cb(MsnSlpCall *slpcall, gsize total_length, gsize
-						  len, gsize offset);
-
 MsnSlpCall * msn_slp_sip_recv(MsnSlpLink *slplink,
 							  const char *body);