From 5e334f06a1ef89891f9df2a371e4662340bec26b Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Thu, 14 Dec 2006 18:27:09 -0500 Subject: Remove instances of macros VERIFY_GEOMETRABLE and VERIFY_GC. --- Xext/panoramiXprocs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Xext/panoramiXprocs.c') diff --git a/Xext/panoramiXprocs.c b/Xext/panoramiXprocs.c index 2bf94a998..a193c4188 100644 --- a/Xext/panoramiXprocs.c +++ b/Xext/panoramiXprocs.c @@ -531,10 +531,14 @@ int PanoramiXGetGeometry(ClientPtr client) { xGetGeometryReply rep; DrawablePtr pDraw; + int rc; REQUEST(xResourceReq); REQUEST_SIZE_MATCH(xResourceReq); - VERIFY_GEOMETRABLE (pDraw, stuff->id, client); + rc = dixLookupDrawable(&pDraw, stuff->id, client, M_ANY, DixUnknownAccess); + if (rc != Success) + return rc; + rep.type = X_Reply; rep.length = 0; rep.sequenceNumber = client->sequence; -- cgit v1.2.3