]> Dogcows Code - chaz/openbox/blobdiff - otk/color.cc
typo
[chaz/openbox] / otk / color.cc
index b50c29d96b7499acc4d4cd022fd5b3158cd0d608..f150082c00333f131fcbc786b7954411ab0015a7 100644 (file)
@@ -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);
   }
 
This page took 0.024423 seconds and 4 git commands to generate.