Mercurial > pidgin
diff console/gntdebug.c @ 14274:43d9afee9c3c
[gaim-migrate @ 16959]
Fix a bug where `gntgaim -v` does bad things to the terminal. Bug reported by Mark Schneider.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 21 Aug 2006 22:08:19 +0000 |
parents | 7dfa024c1a4a |
children | 81650a27f253 |
line wrap: on
line diff
--- a/console/gntdebug.c Mon Aug 21 21:35:38 2006 +0000 +++ b/console/gntdebug.c Mon Aug 21 22:08:19 2006 +0000 @@ -106,11 +106,18 @@ gnt_widget_show(debug.window); } +static gboolean +start_with_debugwin(gpointer null) +{ + gg_debug_window_show(); + return FALSE; +} + void gg_debug_init() { g_set_print_handler(print_stderr); /* Redirect the debug messages to stderr */ if (gaim_debug_is_enabled()) - gg_debug_window_show(); + g_timeout_add(0, start_with_debugwin, NULL); } void gg_debug_uninit()