Patch applied to SVN.

Thanks!
Sebastien

On Wed, 2007-10-03 at 12:18 +0900, Yoichi NAKAYAMA wrote:
> Hi,
> 
> testgdi program included in libgdiplus package has been broken
> and causes runtime error. Following patch will fix it.
> 
> * testgdi.c: Fix runtime error and remove unnecessary surface creation.
> 
> --- testgdi.c   (revision 86729)
> +++ testgdi.c   (working copy)
> @@ -44,15 +44,9 @@
>         GpStatus st;
>         GpImage *img;
>         gunichar2 *unis;
> -       cairo_surface_t *surface;
> 
>         XClearWindow(win->dpy, win->win);
> -
> -       surface = cairo_xlib_surface_create(win->dpy, win->win,
> -                                           DefaultVisual(win->dpy, 
> DefaultScreen(win->dpy)),
> -                                           win->width, win->height);
> -
> -       GdipCreateFromXDrawable_linux (NULL, NULL, &gp);
> +        GdipCreateFromXDrawable_linux (win->win, win->dpy, &gp);
>          {
>                 GpPen *pen;
>                 GpSolidFill *brush;
> 
> 
> Best regards,

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to