summaryrefslogtreecommitdiff
path: root/otk/color.cc
diff options
context:
space:
mode:
Diffstat (limited to 'otk/color.cc')
-rw-r--r--otk/color.cc6
1 files changed, 3 insertions, 3 deletions
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);
}