On 25.01.2012, at 06:35, wagne...@seas.upenn.edu wrote: > Quoting Rouan van Dalen <rvda...@yahoo.co.uk>: > >> I have the following code to connect a handler to the >> bufferInsertText signal: >> >> buf <- textViewGetBuffer txtView >> buf `on` bufferInsertText $ \_ _ -> putStrLn "hi!" >> >> When I run app and press a key in the textView I get a segfault. > > Attached is a patch that fixes this problem. I've just been given > commit access to the repository, so you should be able to receive it > from a "darcs pull" soon -- but certainly not before the weekend.
Cool, thanks. I wonder if there are more of these. IIRC it used to be the way that one could simply ignore extra arguments but this certainly crashed nowadays. I hope there aren't a lot of functions where this is used... Cheers, Axel ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel