]> Dogcows Code - chaz/openbox/blobdiff - render/gradient.c
use ob_debug for any debug printing and only display the output when its a debug...
[chaz/openbox] / render / gradient.c
index 26ebbdc60515b50c8e36c08216151fc6aa60894d..47f4850fdfbf9fc83ecbee7f43669310e076fabb 100644 (file)
@@ -38,7 +38,7 @@ void RrRender(RrAppearance *a, int w, int h)
         gradient_pyramid(&a->surface, w, h);
         break;
     default:
-        g_message("unhandled gradient");
+        g_assert_not_reached(); /* unhandled gradient */
         return;
     }
   
@@ -183,9 +183,6 @@ static void gradient_solid(RrAppearance *l, int w, int h)
 
         switch (sp->bevel) {
         case RR_BEVEL_1:
-            g_message("%lx %lx %lx",
-                      sp->primary->pixel,
-                      sp->bevel_dark->pixel, sp->bevel_light->pixel);
             XDrawLine(RrDisplay(l->inst), l->pixmap, sp->bevel_dark->gc,
                       left, bottom, right, bottom);
             XDrawLine(RrDisplay(l->inst), l->pixmap, sp->bevel_dark->gc,
This page took 0.021652 seconds and 4 git commands to generate.