Mercurial > pidgin
diff src/protocols/msn/slpcall.c @ 10602:f52ab405f1ab
[gaim-migrate @ 12032]
This is patch 1112281 from Felipe Contreras, it prevents file transfers being
cancelled when closing a conversation window with the sender/recipient.
committer: Tailor Script <tailor@pidgin.im>
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Wed, 16 Feb 2005 20:14:12 +0000 |
| parents | 1a97d5e88d12 |
| children | 888d4c328be5 |
line wrap: on
line diff
--- a/src/protocols/msn/slpcall.c Wed Feb 16 03:57:23 2005 +0000 +++ b/src/protocols/msn/slpcall.c Wed Feb 16 20:14:12 2005 +0000 @@ -46,7 +46,7 @@ } /************************************************************************** - * SLP Call + * Main **************************************************************************/ MsnSlpCall * @@ -59,8 +59,8 @@ slpcall = g_new0(MsnSlpCall, 1); slpcall->slplink = slplink; - slplink->slp_calls = - g_list_append(slplink->slp_calls, slpcall); + + msn_slplink_add_slpcall(slplink, slpcall); slpcall->timer = gaim_timeout_add(MSN_SLPCALL_TIMEOUT, msn_slp_call_timeout, slpcall); @@ -86,8 +86,7 @@ if (slpcall->data_info != NULL) g_free(slpcall->data_info); - slpcall->slplink->slp_calls = - g_list_remove(slpcall->slplink->slp_calls, slpcall); + msn_slplink_remove_slpcall(slpcall->slplink, slpcall); for (e = slpcall->slplink->slp_msgs; e != NULL; ) {
