From 06de24ec6666578759eff2b348e50f5e8e20f3bd Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 20 Dec 2002 15:33:58 +0000 Subject: more api cleanups --- otk/color.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'otk/color.cc') diff --git a/otk/color.cc b/otk/color.cc index b50c29d9..f150082c 100644 --- a/otk/color.cc +++ b/otk/color.cc @@ -75,7 +75,7 @@ void BColor::parseColorName(void) { if (scrn == ~(0u)) scrn = DefaultScreen(OBDisplay::display); - Colormap colormap = OBDisplay::screenInfo(scrn)->getColormap(); + Colormap colormap = OBDisplay::screenInfo(scrn)->colormap(); // get rgb values from colorname XColor xcol; @@ -98,7 +98,7 @@ void BColor::parseColorName(void) { void BColor::allocate(void) { if (scrn == ~(0u)) scrn = DefaultScreen(OBDisplay::display); - Colormap colormap = OBDisplay::screenInfo(scrn)->getColormap(); + Colormap colormap = OBDisplay::screenInfo(scrn)->colormap(); if (! isValid()) { if (colorname.empty()) { @@ -205,7 +205,7 @@ void BColor::doCacheCleanup(void) { if (count > 0) XFreeColors(OBDisplay::display, - OBDisplay::screenInfo(i)->getColormap(), + OBDisplay::screenInfo(i)->colormap(), pixels, count, 0); } -- cgit v1.2.3