Mercurial > pidgin
diff src/protocols/msn/notification.c @ 5567:cc9ddec20010
[gaim-migrate @ 5969]
More fixing.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Fri, 30 May 2003 18:44:03 +0000 |
| parents | 9896e9068bc4 |
| children | 4fa26acb4cd3 |
line wrap: on
line diff
--- a/src/protocols/msn/notification.c Fri May 30 18:31:15 2003 +0000 +++ b/src/protocols/msn/notification.c Fri May 30 18:44:03 2003 +0000 @@ -34,7 +34,6 @@ static GHashTable *notification_commands = NULL; static GHashTable *notification_msg_types = NULL; -G_MODULE_IMPORT GSList *connections; /************************************************************************** * Utility functions @@ -115,7 +114,7 @@ static void msn_accept_add_cb(MsnPermitAdd *pa) { - if (g_slist_find(connections, pa->gc) != NULL) { + if (g_list_find(gaim_connections_get_all(), pa->gc) != NULL) { MsnSession *session = pa->gc->proto_data; char outparams[MSN_BUF_LEN]; @@ -144,7 +143,7 @@ static void msn_cancel_add_cb(MsnPermitAdd *pa) { - if (g_slist_find(connections, pa->gc) != NULL) { + if (g_list_find(gaim_connections_get_all(), pa->gc) != NULL) { MsnSession *session = pa->gc->proto_data; char outparams[MSN_BUF_LEN];
