- if (! XAllocColor(OBDisplay::display, colormap, &xcol)) {
- fprintf(stderr, "BColor::allocate: color alloc error: rgb:%x/%x/%x\n",
+ if (! XAllocColor(**display, colormap, &xcol)) {
+ fprintf(stderr, "Color::allocate: color alloc error: rgb:%x/%x/%x\n",