Re: [Gtk2hs-devel] segfault when using bufferInsertText signal in gtk2hs 0.12.2

2012-01-24 Thread Axel Simon
Hi Rouan, On 25.01.2012, at 08:38, Rouan van Dalen wrote: > >> 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 t

Re: [Gtk2hs-devel] segfault when using bufferInsertText signal in gtk2hs 0.12.2

2012-01-24 Thread Rouan van Dalen
>> 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 prob

Re: [Gtk2hs-devel] segfault when using bufferInsertText signal in gtk2hs 0.12.2

2012-01-24 Thread Axel Simon
On 25.01.2012, at 06:35, wagne...@seas.upenn.edu wrote: > Quoting Rouan van Dalen : > >> 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

Re: [Gtk2hs-devel] segfault when using bufferInsertText signal in gtk2hs 0.12.2

2012-01-24 Thread wagnerdm
Quoting Rouan van Dalen : 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