changeset 30813:fd4b918a9b2f

MsnMessage is not needed anymore by SlpMessage.
author masca@cpw.pidgin.im
date Sat, 19 Jun 2010 22:48:00 +0000
parents 623e38669111
children 358abb453add
files libpurple/protocols/msn/slpmsg.c libpurple/protocols/msn/slpmsg.h
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpmsg.c	Sat Jun 19 22:29:55 2010 +0000
+++ b/libpurple/protocols/msn/slpmsg.c	Sat Jun 19 22:48:00 2010 +0000
@@ -172,6 +172,7 @@
 	slpmsg->size = purple_imgstore_get_size(img);
 }
 
+#if 0
 void
 msn_slpmsg_show(MsnMessage *msg)
 {
@@ -200,6 +201,7 @@
 
 	msn_message_show_readable(msg, info, text);
 }
+#endif
 
 MsnSlpMessage *
 msn_slpmsg_sip_new(MsnSlpCall *slpcall, int cseq,
--- a/libpurple/protocols/msn/slpmsg.h	Sat Jun 19 22:29:55 2010 +0000
+++ b/libpurple/protocols/msn/slpmsg.h	Sat Jun 19 22:48:00 2010 +0000
@@ -31,7 +31,6 @@
 #include "slpcall.h"
 #include "slplink.h"
 #include "session.h"
-#include "msg.h"
 #include "p2p.h"
 
 #include "slp.h"
@@ -168,7 +167,9 @@
  */
 MsnSlpMessage *msn_slpmsg_file_new(MsnSlpCall *slpcall, size_t size);
 
+#if 0
 void msn_slpmsg_show(MsnMessage *msg);
+#endif
 
 /**
  * Serialize the MsnSlpMessage in a way it can be used to be transmited