Mercurial > pidgin
changeset 5914:1344aeab6baa
[gaim-migrate @ 6346]
I think this is better
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 17 Jun 2003 20:14:05 +0000 |
parents | 9657e243d001 |
children | 124ca6f5e895 |
files | src/buddy_chat.c src/protocols/msn/ft.c |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy_chat.c Tue Jun 17 18:56:53 2003 +0000 +++ b/src/buddy_chat.c Tue Jun 17 20:14:05 2003 +0000 @@ -351,7 +351,7 @@ gtk_container_set_border_width(GTK_CONTAINER(jc_vbox), 0); #else - joinchatgc = connections->data; + joinchatgc = gaim_connections_get_all()->data; #endif rebuild_jc(); /* buttons */
--- a/src/protocols/msn/ft.c Tue Jun 17 18:56:53 2003 +0000 +++ b/src/protocols/msn/ft.c Tue Jun 17 20:14:05 2003 +0000 @@ -24,7 +24,6 @@ #ifdef _WIN32 #include "win32dep.h" -__declspec(dllimport) GList *connections; #endif static struct gaim_xfer * @@ -375,7 +374,7 @@ account = gaim_xfer_get_account(xfer); xfer_data = (struct msn_xfer_data *)xfer->data; - if (source == -1 || !g_slist_find(connections, account->gc)) { + if (source == -1 || !g_slist_find(gaim_connections_get_all(), account->gc)) { gaim_debug(GAIM_DEBUG_ERROR, "msn", "MSNFTP: Error establishing connection\n"); close(source);