[cairo] freedesktop.org links in configure.in are wrong

Owen Taylor otaylor at redhat.com
Fri May 13 08:09:56 PDT 2005


On Thu, 2005-05-12 at 23:35 -0700, Carl Worth wrote:

> 
>         /* This is ugly, but we have to walk over all visuals
>          * for the display to find the depth.
>          */
>         for (i = 0; i < ScreenCount (dpy); i++) {
>             Screen *screen = ScreenOfDisplay (dpy, i);
>             for (j = 0; j < screen->ndepths; j++) {
>                 Depth *depth = &screen->depths[j];
>                 for (k = 0; k < depth->nvisuals; k++) {
>                     if (&depth->visuals[k] == visual)
>                         surface->depth = depth->depth;
>                     goto found;
>                 }
>             }
>         }
> 
> Could you provide the XCB analogue for this function?

Well, preferably an analogue for the function with the goto
inside the inner if. :-(

I've fixed this now in CVS.

Regards,
					Owen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050513/2117aa66/attachment.pgp


More information about the cairo mailing list