diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-05-06 21:56:10 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-05-12 18:10:01 -0700 |
commit | 04bad1b8a118a83064316d6e4327234aee19361e (patch) | |
tree | db53939c7cf34aa3eb3b31e6af7d32c0b31af64c /include/gc.h | |
parent | 65cedf39054cf3a1e695e84ac228cce9e8d48097 (diff) |
Kill ChangeGC in favor of dixChangeGC.
This doesn't change any behavior, but it isn't clear whether NullClient
is correct in all cases. As ajax says,
> For most of these changes, I think it's correct to use NullClient,
> since they are server-initiated changes and should not fail for (eg)
> xace reasons. ... At any rate, you're certainly not changing any
> semantics by leaving them all as NullClient, so this patch can't be
> more wrong than before.
The call in CreateGC is particularly questionable.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include/gc.h')
-rw-r--r-- | include/gc.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/gc.h b/include/gc.h index 7f481c359..3fa953d56 100644 --- a/include/gc.h +++ b/include/gc.h @@ -88,11 +88,6 @@ extern _X_EXPORT void ValidateGC( DrawablePtr /*pDraw*/, GCPtr /*pGC*/); -extern _X_EXPORT int ChangeGC( - GCPtr/*pGC*/, - BITS32 /*mask*/, - XID* /*pval*/); - typedef union { CARD32 val; pointer ptr; |