summaryrefslogtreecommitdiff
path: root/mi/miwideline.h
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-05-07 19:38:05 -0700
committerJamey Sharp <jamey@minilop.net>2010-05-13 17:14:07 -0700
commit6a84cd943430cfc9df55c83aef6a7f8dea6dbb94 (patch)
treeb6b75bd36bc05c394e3b1e52edaccde1d52a136d /mi/miwideline.h
parent2d7eb4a19b773d0406c0c2e018a7da97f3565fd5 (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.h')
-rw-r--r--mi/miwideline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mi/miwideline.h b/mi/miwideline.h
index 8d848783c..e08aa6833 100644
--- a/mi/miwideline.h
+++ b/mi/miwideline.h
@@ -80,7 +80,7 @@ typedef struct _LineFace {
if (pixel != oldPixel) { \
ChangeGCVal gcval; \
gcval.val = pixel; \
- dixChangeGC (NullClient, pGC, GCForeground, NULL, &gcval); \
+ ChangeGC (NullClient, pGC, GCForeground, &gcval); \
ValidateGC (pDrawable, pGC); \
} \
}
@@ -88,7 +88,7 @@ typedef struct _LineFace {
if (pixel != oldPixel) { \
ChangeGCVal gcval; \
gcval.val = oldPixel; \
- dixChangeGC (NullClient, pGC, GCForeground, NULL, &gcval); \
+ ChangeGC (NullClient, pGC, GCForeground, &gcval); \
ValidateGC (pDrawable, pGC); \
} \
}