On Tue, Jan 07, 2003 at 12:58:06PM -0800, Guy Harris wrote: > You'd still want to check the success of "gdk_colormap_alloc_color()" > when allocating the various shades of gray - and, for that matter, when > parsing the colors (even if one cannot see how a call can fail, one > should check for its success anyway, if for no other reason than to let > the user know that it failed; one can often be surprised by calls that > "cannot fail" failing for reasons one didn't anticipate).
I've checked in some code to do those checks. (I tested it with a modified version of the code that tried to parse a color name not found in, I suspect, any rgb.txt files, and it popped up the warning dialog boxes that it was supposed to.)
