_backend_gdk.c on win32

No, it looks good, I've removed the gdkx.h line from cvs too.
When writing the extension I copied some of the code from a cairo gtk
extension which is X11 specific. But luckily the _backend_gdk function
pixbuf_get_pixels_array() is not X11 specific, so the gdkx.h include is
not even needed. Thanks for tracking it down.

Steve

···

On Fri, 2005-03-18 at 20:17 -0800, matplotlib-devel- request@lists.sourceforge.net wrote:

On Fri, 2005-03-18 at 20:17 -0800, matplotlib-devel- > request@lists.sourceforge.net wrote:

>
> > Just trying to build 0.73 on win32 and hot a snag on the new
> > _backend_gdk. My GTK win32 install, admittedly a bit out of
> > date, does not have
>
> > #include <gdk/gdkx.h>
>
> Hmm...
>
> I used the time honored "comment it out and see what happens" and was
> able to compile and run GTK and GTKAgg examples on win32. As I
> understand it, gdkx is an X specific extension anyway.
>
> Are there problems with this approach?
>
> JDH