# HG changeset patch # User Sean Egan # Date 1033863464 0 # Node ID 6fe1d751b494146a6e971675316bbf20bc333253 # Parent 88f80e4566aa6230a6bed085347e5a0c3d4df152 [gaim-migrate @ 3679] Sorry for breaking your static prpls. committer: Tailor Script diff -r 88f80e4566aa -r 6fe1d751b494 src/prpl.c --- a/src/prpl.c Tue Oct 01 23:22:47 2002 +0000 +++ b/src/prpl.c Sun Oct 06 00:17:44 2002 +0000 @@ -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(); }