Mercurial > pidgin
diff src/core.c @ 10448:6a20307ef8dc
[gaim-migrate @ 11713]
Fix the problem with accounts.xml being loaded before the plugins were
probed. This fixes the Yahoo! crash mentioned by the guy on gaim-devel
and a guy in #gaim, and a few other obscure problems.
Plugins are probed* by the core now instead of the UI. Less work for
UI implementors means less code duplication and makes it more likely
someone will write a new UI.
*Probing loads the PRPLs and any loader plugins (perl, tcl, etc.), and
makes plugin information available everywhere else.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 29 Dec 2004 22:48:59 +0000 |
parents | bed2c96bc1fb |
children | 12460aa2c820 |
line wrap: on
line diff
--- a/src/core.c Wed Dec 29 21:53:59 2004 +0000 +++ b/src/core.c Wed Dec 29 22:48:59 2004 +0000 @@ -78,6 +78,8 @@ /* Initialize all static protocols. */ static_proto_init(); + gaim_plugins_probe(NULL); + if (ops != NULL) { if (ops->ui_prefs_init != NULL) @@ -136,7 +138,7 @@ gaim_prefs_uninit(); gaim_sound_uninit(); - gaim_debug(GAIM_DEBUG_INFO, "main", "Unloading all plugins\n"); + gaim_debug_info("main", "Unloading all plugins\n"); gaim_plugins_destroy_all(); ops = gaim_core_get_ui_ops();