Mercurial > pidgin
diff src/prpl.c @ 3577:6fe1d751b494
[gaim-migrate @ 3679]
Sorry for breaking your static prpls.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 06 Oct 2002 00:17:44 +0000 |
parents | bdd0bebd2d04 |
children | e941bfbacf7c |
line wrap: on
line diff
--- 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(); }