Mercurial > pidgin
diff libpurple/protocols/msn/slplink.c @ 20420:8aa5e490dbf7
switchboards really can be referenced by multiple slplinks, I have no idea
why this GList was replaced with a single slplink in msnp14 but it's
possible that it was causing some problems.
References #1142
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sun, 20 May 2007 16:30:39 +0000 |
parents | 0f6747c5dcc2 |
children | 637e080758a9 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c Sun May 20 15:59:10 2007 +0000 +++ b/libpurple/protocols/msn/slplink.c Sun May 20 16:30:39 2007 +0000 @@ -102,7 +102,7 @@ g_return_if_fail(slplink != NULL); if (slplink->swboard != NULL) - slplink->swboard->slplink = NULL; + slplink->swboard->slplinks = g_list_remove(slplink->swboard->slplinks, slplink); session = slplink->session; @@ -259,7 +259,7 @@ return; /* If swboard is destroyed we will be too */ - slplink->swboard->slplink = slplink; + slplink->swboard->slplinks = g_list_prepend(slplink->swboard->slplinks, slplink); } msn_switchboard_send_msg(slplink->swboard, msg, TRUE);