summaryrefslogtreecommitdiff
path: root/render/gradient.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/gradient.c')
-rw-r--r--render/gradient.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/render/gradient.c b/render/gradient.c
index 26ebbdc6..47f4850f 100644
--- a/render/gradient.c
+++ b/render/gradient.c
@@ -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,