Custom Query (152 matches)
Results (1 - 3 of 152)
|#1112||fixed||"Xlib: unexpected async reply" with threaded RTS and --sync command line parameter||somebody||guest|
A trivial program which uses unsafeInitGUIForThreadedRTS, and doesn't even start additional threads, causes the above error message when started with the "--sync" command line parameter. It has to be compiled with "-threaded", but multithreading doesn't need to be enabled at runtime for the error to occur. The same problem occurs even without the "--sync" parameter, but only in a much more complex program. All the parameter does is tell X to report errors synchronously.
Calling XInitThreads at the start of main makes the error disappear, which indicates that Haskell calls Gtk (which in turn calls X) from multiple OS threads.
The attached archive contains three versions of the same program:
|#1097||fixed||'on' isn't exported by default when importing Gtk2Hs||somebody||guest|
The function on that is now used to connect to signals should be exported by default. I don't know if we should re-export the whole System.Glib.Signal module or only parts thereof.
|#1154||wontfix||--disable-deprecated breaks installation||pgavin||guest|
If I run configure --disable-deprecated && make , I get some errors like
gtk/Graphics/UI/Gtk/Types.chs:1831: (column 12) [ERROR]
and make fails.
With the --disable-deprecated switch symbols for deprecated widget defined in the gtk header files will not be included, but gtkhs tries to use them anyway.
Without this switch, compilation runs fine.
johann ~/gtk2hs $ pkg-config --modversion 'gtk+-2.0'
johann ~/gtk2hs $ ghc --version