On Sat, Jun 07, 2003 at 03:19:28PM -0300, Johan Dahlin wrote: > On Sat, 2003-06-07 at 06:09, Alif Wahid wrote: > > Hi, > > > > I've provided a patch on bugzilla to fix a problem compiling latest CVS Head > > on Win32 platforms. It is #114619. I think the macro GDK_DRAWABLE_HANDLE > > should be replaced with GDK_WINDOW_HWND macro on line 2485 of gdk.override > > file when compiling on Win32 platforms. It seems to fix the linker error > > "undefined reference to GDK_DRAWABLE_HANDLE" for the moment anyway. > > Thanks a lot. I can't really pygtk on windows. But fortunately, the > pygtk community is growing, so there is always someone who builds on > windows. > > I will check it in when I have time, assuming it compiles :-) >
Sorry, I dropped the ball on this one. I originally submitted a patch that used GDK_WINDOW_HWND. James Henstridge then suggested that the more general DRAWABLE_HANDLE might be more appropriate. In GTK, GDK_DRAWABLE_HANDLE is considered private as it is guarded in the header file. In order to try things out I moved the macro outside of the private guard, but then promptly forgot about moving it. Of course the patch worked fine with my broken headers. I wonder if it would be worthwhile having GDK_DRAWABLE_HANDLE "exported" just like GDK_WINDOW_HWND. --jkl _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
