This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: xlib/X11/Xutil.h patch: XEmptyRegion
- From: Ian Roxborough <irox at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: insight at sources dot redhat dot com
- Date: Wed, 23 Jan 2002 15:18:22 -0800
- Subject: Re: xlib/X11/Xutil.h patch: XEmptyRegion
- Organization: Red Hat Inc.
- References: <200201232229.g0NMTTV22455@greed.delorie.com>
Hi,
actaully, now that you mention it, they seems to be quite a few
functions with this problem. Your fix looks right but I'll have
a scout around and make sure that there not all ment to be that way
for some strange reason.
Do you see any value in changing them all or is it just this one
that is causing problems?
Thanks,
Ian.
On Wed, 23 Jan 2002 17:29:29 -0500 DJ Delorie <dj@redhat.com> wrote:
>
>
> The book says bool, and tk/unix/tkUnixDraw.c assumes Bool also.
>
> 2002-01-23 DJ Delorie <dj@redhat.com>
>
> * xlib/X11/Xutil.h (XEmptyRegion): Returns Bool.
>
> Index: xlib/X11/Xutil.h
> ===================================================================
> RCS file: /cvs/uberbaum/tk/xlib/X11/Xutil.h,v
> retrieving revision 1.2
> diff -p -3 -r1.2 Xutil.h
> *** Xutil.h 2001/09/10 01:16:55 1.2
> --- Xutil.h 2002/01/23 22:27:53
> *************** extern void XDestroyRegion(
> *** 364,370 ****
> #endif
> );
>
> ! extern void XEmptyRegion(
> #if NeedFunctionPrototypes
> Region /* r */
> #endif
> --- 364,370 ----
> #endif
> );
>
> ! extern Bool XEmptyRegion(
> #if NeedFunctionPrototypes
> Region /* r */
> #endif