Re: [Gtk2hs-devel] Gtk Editable signal bug

2010-04-03 Thread Andy Stewart
Axel Simon writes: > Perfect! Okay, i will push new code in my next patch. Cheers, -- Andy > > On Apr 3, 2010, at 18:12, Andy Stewart wrote: > >> Axel Simon writes: >> >>> Andy, >>> >>> I don't think you should use connectGeneric since this -- I think -- >>> only works with one particular w

Re: [Gtk2hs-devel] Gtk Editable signal bug

2010-04-03 Thread Axel Simon
Perfect! On Apr 3, 2010, at 18:12, Andy Stewart wrote: > Axel Simon writes: > >> Andy, >> >> I don't think you should use connectGeneric since this -- I think -- >> only works with one particular way of connecting to signals. Please >> copy the code from the onInsertText signal. In general, you

Re: [Gtk2hs-devel] Gtk Editable signal bug

2010-04-03 Thread Andy Stewart
Axel Simon writes: > Andy, > > I don't think you should use connectGeneric since this -- I think -- > only works with one particular way of connecting to signals. Please > copy the code from the onInsertText signal. In general, you should > only use the automatically generated connect_XXX f

Re: [Gtk2hs-devel] Gtk Editable signal bug

2010-04-03 Thread Axel Simon
Andy, I don't think you should use connectGeneric since this -- I think -- only works with one particular way of connecting to signals. Please copy the code from the onInsertText signal. In general, you should only use the automatically generated connect_XXX functions. Axel. On Apr 3, 2010

Re: [Gtk2hs-devel] Gtk Editable signal bug

2010-04-03 Thread Andy Stewart
Hi Matt, Sorry for inconvenience! I have fix this bug in darcs version with below code: --> new version start <-- insertText :: EditableClass self => Signal self (String -> Int -> IO Int) insertText = Signal (connect_STRINGPTR_INT__INTPTR

[Gtk2hs-devel] Gtk Editable signal bug

2010-04-02 Thread Matt Arsenault
Hi, I happened to come across a problem with the insertText signal for Editable in Gtk. I'm having problems getting the autotools to actually build, so I haven't exactly fixed it myself. In gtk/Graphics/UI/Gtk/Entry/Editable.chs.pp: > insertText :: EditableClass self => Signal self (String ->