Mercurial > pidgin
diff src/multi.c @ 1710:f42ce672c560
[gaim-migrate @ 1720]
various fixes (for plugins especially), other updates. made WEBSITE macro so it's easy to change (not that i think it'll be changing again), updated some files to reflect that change.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 13 Apr 2001 10:50:33 +0000 |
parents | eeb0cfe710b1 |
children | 896432d66303 |
line wrap: on
line diff
--- a/src/multi.c Fri Apr 13 08:15:44 2001 +0000 +++ b/src/multi.c Fri Apr 13 10:50:33 2001 +0000 @@ -207,6 +207,17 @@ g_free(m); } +void get_good(struct gaim_connection **gc) +{ + GSList *c = connections; *gc = NULL; + while (c) { + if (((struct gaim_connection *)c->data)->protocol < 2) { + *gc = c->data; return; + } + c = c->next; + } +} + static GtkWidget *acct_button(const char *text, struct aim_user *u, int option, GtkWidget *box) { GtkWidget *button;