Hi Axel, unsafeInitGUIForThreadedRTS there is still a necessary? Even you have fix this problem?
If unsafeInitGUIForThreadedRTS is not necessary, we should remove `unsafeInitGUIForThreadedRTS` and allowed use `-threaded` flag with `initGUI` directly. Current, if i use `initGUI` with `-threaded` flag, will got error: ------------------------------> error start <------------------------------ initGUI: Gtk+ is single threaded and so cannot safely be used from multiple Haskell threads when using GHC's threaded RTS. You can avoid this error by relinking your program without using the '-threaded' flag. If you have to use the threaded RTS and are absolutely sure that you only ever call Gtk+ from a single OS thread then you can use the function: unsafeInitGUIForThreadedRTS ------------------------------> error end <------------------------------ What do you think? Cheers, -- Andy ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel