Mercurial > pidgin
diff src/prpl.c @ 5573:5e7de337a053
[gaim-migrate @ 5976]
Account saving and loading _mostly_ works.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 30 May 2003 23:57:11 +0000 |
parents | 9eb5b13fd412 |
children | dae79aefac8d |
line wrap: on
line diff
--- a/src/prpl.c Fri May 30 23:05:01 2003 +0000 +++ b/src/prpl.c Fri May 30 23:57:11 2003 +0000 @@ -34,8 +34,6 @@ #include "win32dep.h" #endif -GSList *protocols = NULL; - GtkWidget *protomenu = NULL; struct _prompt { @@ -49,10 +47,10 @@ GaimPlugin * gaim_find_prpl(GaimProtocol type) { - GSList *l; + GList *l; GaimPlugin *plugin; - for (l = protocols; l != NULL; l = l->next) { + for (l = gaim_plugins_get_protocols(); l != NULL; l = l->next) { plugin = (GaimPlugin *)l->data; /* Just In Case (TM) */ @@ -432,7 +430,7 @@ static void reset_reg_dlg() { - GSList *P = protocols; + GList *P = gaim_plugins_get_protocols(); if (!regdlg) return;