This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: xlib/X11/Xutil.h patch: XEmptyRegion



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]