Mercurial > pidgin
diff src/debug.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 | 2ac21bf20e04 |
children | 50224ac8184d |
line wrap: on
line diff
--- a/src/debug.c Wed Dec 29 21:53:59 2004 +0000 +++ b/src/debug.c Wed Dec 29 22:48:59 2004 +0000 @@ -51,12 +51,12 @@ if (debug_enabled) { gchar *arg_s, *ts_s; - gboolean timestamps; arg_s = g_strdup_vprintf(format, args); - timestamps = gaim_prefs_get_bool("/core/debug/timestamps");; - if ((category != NULL) && (timestamps)) { + if ((category != NULL) && + (gaim_prefs_exists("/core/debug/timestamps")) && + (gaim_prefs_get_bool("/core/debug/timestamps"))) { gchar mdate[64]; time_t mtime = time(NULL);