Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
10447:6feef0a9098a | 10448:6a20307ef8dc |
---|---|
76 gaim_prefs_init(); | 76 gaim_prefs_init(); |
77 | 77 |
78 /* Initialize all static protocols. */ | 78 /* Initialize all static protocols. */ |
79 static_proto_init(); | 79 static_proto_init(); |
80 | 80 |
81 gaim_plugins_probe(NULL); | |
82 | |
81 if (ops != NULL) | 83 if (ops != NULL) |
82 { | 84 { |
83 if (ops->ui_prefs_init != NULL) | 85 if (ops->ui_prefs_init != NULL) |
84 ops->ui_prefs_init(); | 86 ops->ui_prefs_init(); |
85 | 87 |
134 gaim_savedstatuses_uninit(); | 136 gaim_savedstatuses_uninit(); |
135 gaim_status_uninit(); | 137 gaim_status_uninit(); |
136 gaim_prefs_uninit(); | 138 gaim_prefs_uninit(); |
137 gaim_sound_uninit(); | 139 gaim_sound_uninit(); |
138 | 140 |
139 gaim_debug(GAIM_DEBUG_INFO, "main", "Unloading all plugins\n"); | 141 gaim_debug_info("main", "Unloading all plugins\n"); |
140 gaim_plugins_destroy_all(); | 142 gaim_plugins_destroy_all(); |
141 | 143 |
142 ops = gaim_core_get_ui_ops(); | 144 ops = gaim_core_get_ui_ops(); |
143 if (ops != NULL && ops->quit != NULL) | 145 if (ops != NULL && ops->quit != NULL) |
144 ops->quit(); | 146 ops->quit(); |