SourceForge logo
SourceForge logo
Menu

[matplotlib-devel] Re: _backend_gdk.c on win32

From: Steve C. <ste...@ya...> - 2005年03月19日 06:05:55
On Fri, 2005年03月18日 at 20:17 -0800, matplotlib-devel-
re...@li... wrote:
> On Fri, 2005年03月18日 at 20:17 -0800, matplotlib-devel-
> re...@li... wrote:
> > >>>>> "John" == John Hunter <jdh...@ac...> writes:
> > 
> > John> Just trying to build 0.73 on win32 and hot a snag on the new
> > John> _backend_gdk. My GTK win32 install, admittedly a bit out of
> > John> date, does not have
> > 
> > John> #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
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

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /