cpw.darkrain42.msn.ft: 24c9cde2: msn_xfer_progress_cb is no longer used.

qulogic at pidgin.im qulogic at pidgin.im
Mon Dec 14 02:27:20 EST 2009


-----------------------------------------------------------------
Revision: 24c9cde2417d13313b1fef09b9526d09a8e1aa7f
Ancestor: db1ffb19ec85c58cab0fe3150ea6d64a8b486bd2
Author: qulogic at pidgin.im
Date: 2009-11-20T01:18:28
Branch: im.pidgin.cpw.darkrain42.msn.ft
URL: http://d.pidgin.im/viewmtn/revision/info/24c9cde2417d13313b1fef09b9526d09a8e1aa7f

Modified files:
        libpurple/protocols/msn/slp.c libpurple/protocols/msn/slp.h

ChangeLog: 

msn_xfer_progress_cb is no longer used.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slp.c	ba14bffed60ebb96b22c7c1e3ad44a08df2ed32e
+++ libpurple/protocols/msn/slp.c	5dd673d14c5f7dee82b1df46f7ef683d6408871d
@@ -182,19 +182,6 @@ void
 }
 
 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) &&
============================================================
--- libpurple/protocols/msn/slp.h	1555fcaf0304a6dd010a6cd891df48662dd986da
+++ libpurple/protocols/msn/slp.h	981c05d321621f9f938e6ead93daa9a31099c794
@@ -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);
 


More information about the Commits mailing list