Improve debugging printouts. When G_MAIN_POLL_DEBUG is defined, we check
authorTor Lillqvist <tml@novell.com>
Sat, 17 May 2008 02:25:59 +0000 (02:25 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sat, 17 May 2008 02:25:59 +0000 (02:25 +0000)
commit2ded70ee9463ef0a24eeecb85074378c5c896500
tree192ec7d0b7c0ecf96e79c8ecfac728f2b6efaad6
parentb9cf431b95e7d9633f7867094a3fad4d6a23a8a6
Improve debugging printouts. When G_MAIN_POLL_DEBUG is defined, we check

2008-05-17  Tor Lillqvist  <tml@novell.com>

* glib/gmain.c: Improve debugging printouts. When
G_MAIN_POLL_DEBUG is defined, we check for an environment variable
of the same name to decide whether to print out debugging
information or not. G_MAIN_POLL_DEBUG is always defined on Windows
as there is more often a need to debug this stuff there. On Unix
the definition has to be uncommented (or done on the compile
command line).

svn path=/trunk/; revision=6897
ChangeLog
glib/gmain.c