src/prpl.c

changeset 5573
633880e3f137
parent 5563
d5a7852aa0cb
child 5676
d3c2fdaf4821
--- 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;

mercurial