# HG changeset patch # User Herman Bloggs # Date 1043268332 0 # Node ID eed028527289fc2f921573af4152730127814f34 # Parent 3fa2941a53231164170598d3a9daa09a2fc294c5 [gaim-migrate @ 4664] Set dummy handler for the default domain, to avoid a console popping up in win32 - thanks ieatphroggies committer: Tailor Script diff -r 3fa2941a5323 -r eed028527289 src/aim.c --- 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);