comparison libpurple/protocols/msn/sbconn.c @ 31263:91ba047e838c

Remove msgs list from SlpMessage.
author masca@cpw.pidgin.im
date Tue, 22 Jun 2010 23:00:10 +0000
parents ead7b8c19725
children 471e9b81da41
comparison
equal deleted inserted replaced
31262:a743c25b27a8 31263:91ba047e838c
2 #include "debug.h" 2 #include "debug.h"
3 3
4 #include "msg.h" 4 #include "msg.h"
5 #include "sbconn.h" 5 #include "sbconn.h"
6 6
7 #if 0
7 /* We have received the message ack */ 8 /* We have received the message ack */
8 void 9 void
9 msn_sbconn_msg_ack(MsnMessage *msg, void *data) 10 msn_sbconn_msg_ack(MsnMessage *msg, void *data)
10 { 11 {
11 MsnSlpMessage *slpmsg; 12 MsnSlpMessage *slpmsg;
60 msn_slplink_send_msgpart(slpmsg->slplink, slpmsg); 61 msn_slplink_send_msgpart(slpmsg->slplink, slpmsg);
61 62
62 slpmsg->msgs = g_list_remove(slpmsg->msgs, msg); 63 slpmsg->msgs = g_list_remove(slpmsg->msgs, msg);
63 msn_message_unref(msg); 64 msn_message_unref(msg);
64 } 65 }
66 #endif
65 67
66 void msn_sbconn_send_msg(MsnSlpLink *slplink, MsnMessage *msg) 68 void msn_sbconn_send_msg(MsnSlpLink *slplink, MsnMessage *msg)
67 { 69 {
68 if (slplink->swboard == NULL) 70 if (slplink->swboard == NULL)
69 { 71 {