Mercurial > pidgin
changeset 4395:eed028527289
[gaim-migrate @ 4664]
Set dummy handler for the default domain, to avoid a console popping up in win32 - thanks ieatphroggies
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Wed, 22 Jan 2003 20:45:32 +0000 |
parents | 3fa2941a5323 |
children | 868ee63e1fe8 |
files | src/aim.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/aim.c Wed Jan 22 17:36:17 2003 +0000 +++ b/src/aim.c Wed Jan 22 20:45:32 2003 +0000 @@ -802,7 +802,10 @@ * ignore messages by setting dummy log handlers, or redirect messages. * This requires setting handlers for all domains (any lib which uses g_logging). */ - + + g_log_set_handler (NULL, G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION, + (opt_gdebug ? gaim_log_handler : gaim_dummy_log_handler), + NULL); g_log_set_handler ("Gdk", G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION, (opt_gdebug ? gaim_log_handler : gaim_dummy_log_handler), NULL);