Yes that is a mistake. I have fixed it in CVS now. The
gdk_threads_enter() functions should not be called from within the gtk
mainloop anyway, so that code was broken.
In other news, I have added a wrapper for gtkglarea to pygtk. There are a
few examples in the examples/gl directory, including a translation of the
mesa gears demo. To use it, you will also need the PyOpenGL package.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Sat, 17 Jul 1999, Matt Wilson wrote:
> The code that was working fine with my Py_BEGIN_ALLOW_THREADS patch
> is broken against CVS HEAD:
>
> UNBLOCK called by _wrap_gdk_threads_enter bc == 0
> BLOCK called by _wrap_gdk_threads_enter bc == 0
> UNBLOCK called by _wrap_gtk_main bc == 0
> UNBLOCK called by _wrap_gdk_threads_enter bc == -1
>
> ** ERROR **: file gtkmodule.c: line 5479 (_wrap_gdk_threads_enter): assertion
>failed: (_blockcount >= 0)
> aborting...
>
> Matt
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
>
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]