]> Dogcows Code - chaz/openbox/blobdiff - otk/surface.cc
remove quotes from comment
[chaz/openbox] / otk / surface.cc
index 4f6ef3862453015fddc0c53ae89d1d0a5f537b47..9dfb88898043faaac22541e4060c4bbb03e63649 100644 (file)
@@ -39,7 +39,6 @@ void Surface::setPixmap(const RenderColor &color)
 
 void Surface::setPixmap(XImage *image)
 {
-  printf("SET PIXMAP\n");
   assert(image->width == _size.x());
   assert(image->height == _size.y());
   
@@ -58,9 +57,11 @@ void Surface::createObjects()
   
   _pixmap = XCreatePixmap(**display, info->rootWindow(),
                           _size.x(), _size.y(), info->depth());
+  assert(_pixmap != None);
     
   _xftdraw = XftDrawCreate(**display, _pixmap,
                            info->visual(), info->colormap());
+  assert(_xftdraw);
 }
 
 void Surface::destroyObjects()
This page took 0.025299 seconds and 4 git commands to generate.