[debug] Guard the use of gdk_pixbuf for pick debugging by #ifdef USE_GDKPIXBUF
authorRobert Bragg <robert@linux.intel.com>
Mon, 5 Oct 2009 15:46:24 +0000 (16:46 +0100)
committerRobert Bragg <robert@linux.intel.com>
Mon, 5 Oct 2009 16:35:46 +0000 (17:35 +0100)
commitdd8e4dcd62979bf8b7c8ad0e8898888a065ba445
treeb7dabc0adeffdcf5b6b98250bd05ba8b24901c45
parentf7c02642453420cf5866f9759d5f266d8ada40a5
[debug] Guard the use of gdk_pixbuf for pick debugging by #ifdef USE_GDKPIXBUF

gdk is an optional clutter dependency, so the pick buffer debugging option
needs some guards so we don't break, for example, the OSX builds.  This also
adds a comment for the bit fiddling done on the pick colors used to ensure
the pick colors are more distinguished while debugging.  (we swap the
nibbles of each color component so that pick buffers don't just look black.)
clutter/clutter-main.c