diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-05-07 19:38:05 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-05-13 17:14:07 -0700 |
commit | 6a84cd943430cfc9df55c83aef6a7f8dea6dbb94 (patch) | |
tree | b6b75bd36bc05c394e3b1e52edaccde1d52a136d /mi/miwideline.c | |
parent | 2d7eb4a19b773d0406c0c2e018a7da97f3565fd5 (diff) |
Replace dixChangeGC with calls directly to the right variant.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'mi/miwideline.c')
-rw-r--r-- | mi/miwideline.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mi/miwideline.c b/mi/miwideline.c index c08f9649f..5f3d58215 100644 --- a/mi/miwideline.c +++ b/mi/miwideline.c @@ -115,7 +115,7 @@ fillSpans(DrawablePtr pDrawable, GCPtr pGC, unsigned long pixel, Spans *spans, S if (pixel != oldPixel.val) { tmpPixel.val = (XID)pixel; - dixChangeGC (NullClient, pGC, GCForeground, NULL, &tmpPixel); + ChangeGC (NullClient, pGC, GCForeground, &tmpPixel); ValidateGC (pDrawable, pGC); } (*pGC->ops->FillSpans) (pDrawable, pGC, spans->count, spans->points, spans->widths, TRUE); @@ -123,7 +123,7 @@ fillSpans(DrawablePtr pDrawable, GCPtr pGC, unsigned long pixel, Spans *spans, S free(spans->points); if (pixel != oldPixel.val) { - dixChangeGC (NullClient, pGC, GCForeground, NULL, &oldPixel); + ChangeGC (NullClient, pGC, GCForeground, &oldPixel); ValidateGC (pDrawable, pGC); } } @@ -261,13 +261,13 @@ miFillRectPolyHelper ( if (pixel != oldPixel.val) { tmpPixel.val = (XID)pixel; - dixChangeGC (NullClient, pGC, GCForeground, NULL, &tmpPixel); + ChangeGC (NullClient, pGC, GCForeground, &tmpPixel); ValidateGC (pDrawable, pGC); } (*pGC->ops->PolyFillRect) (pDrawable, pGC, 1, &rect); if (pixel != oldPixel.val) { - dixChangeGC (NullClient, pGC, GCForeground, NULL, &oldPixel); + ChangeGC (NullClient, pGC, GCForeground, &oldPixel); ValidateGC (pDrawable, pGC); } } @@ -1504,14 +1504,14 @@ miCleanupSpanData (DrawablePtr pDrawable, GCPtr pGC, SpanDataPtr spanData) oldPixel.val = pGC->fgPixel; if (pixel.val != oldPixel.val) { - dixChangeGC (NullClient, pGC, GCForeground, NULL, &pixel); + ChangeGC (NullClient, pGC, GCForeground, &pixel); ValidateGC (pDrawable, pGC); } miFillUniqueSpanGroup (pDrawable, pGC, &spanData->bgGroup); miFreeSpanGroup (&spanData->bgGroup); if (pixel.val != oldPixel.val) { - dixChangeGC (NullClient, pGC, GCForeground, NULL, &oldPixel); + ChangeGC (NullClient, pGC, GCForeground, &oldPixel); ValidateGC (pDrawable, pGC); } } |