From 5be0a82a353b67160142134de1cc51fa31d72759 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 24 Jul 2003 06:02:38 +0000 Subject: use ob_debug for any debug printing and only display the output when its a debug build or when --debug is passed to it --- render/gradient.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'render/gradient.c') 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, -- cgit v1.2.3