From: Sean E. <sea...@us...> - 2002-10-06 00:17:49
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv25418/src Modified Files: prpl.c Log Message: Sorry for breaking your static prpls. Index: prpl.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/prpl.c,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- prpl.c 30 Sep 2002 01:05:15 -0000 1.61 +++ prpl.c 6 Oct 2002 00:17:44 -0000 1.62 @@ -87,18 +87,19 @@ } #endif +/* This is used only by static protocols */ void load_protocol(proto_init pi) { - struct prpl *p; + struct prpl *p = g_new0(struct prpl, 1); if (p->protocol == PROTO_ICQ) - do_error_dialog(_("Libicq.so detected."), + do_error_dialog(_("ICQ Protocol detected."), _("Gaim has loaded the ICQ plugin. This plugin has been deprecated. " "As such, it was probably not compiled from the same version of the " "source as this application was, and cannot be guaranteed to work. " "It is reccomended that you use the AIM/ICQ protocol to connect to ICQ"), GAIM_WARNING); - + pi(p); protocols = g_slist_insert_sorted(protocols, p, (GCompareFunc)proto_compare); regenerate_user_list(); } |