comparison src/gtkconv.c @ 13593:165bf3145cbf

[gaim-migrate @ 15979] Remove a debug line that bugs me. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 07 Apr 2006 05:12:51 +0000
parents 41e4b22c0afb
children b76c6de0c3b5
comparison
equal deleted inserted replaced
13592:6519aeb66b31 13593:165bf3145cbf
8216 */ 8216 */
8217 while(i < numcolors && time(NULL) < breakout_time) 8217 while(i < numcolors && time(NULL) < breakout_time)
8218 { 8218 {
8219 GdkColor color = { 0, rand() % 65536, rand() % 65536, rand() % 65536 }; 8219 GdkColor color = { 0, rand() % 65536, rand() % 65536, rand() % 65536 };
8220 8220
8221 gaim_debug_warning("gtkconv",
8222 "Looking for random colors to fill the list, I have found %i so far.\n",i);
8223
8224 if (color_is_visible(color, background, MIN_COLOR_CONTRAST, MIN_BRIGHTNESS_CONTRAST) && 8221 if (color_is_visible(color, background, MIN_COLOR_CONTRAST, MIN_BRIGHTNESS_CONTRAST) &&
8225 color_is_visible(color, nick_highlight, MIN_COLOR_CONTRAST / 2, 0) && 8222 color_is_visible(color, nick_highlight, MIN_COLOR_CONTRAST / 2, 0) &&
8226 color_is_visible(color, send_color, MIN_COLOR_CONTRAST / 4, 0)) 8223 color_is_visible(color, send_color, MIN_COLOR_CONTRAST / 4, 0))
8227 { 8224 {
8228 colors[i] = color; 8225 colors[i] = color;