From: Maxime H. <mhe...@gm...> - 2010-10-24 16:17:12
|
On Sun, 2010-10-24 at 18:07 +0200, Maxime Henrion wrote: > Hello all, > > > Here is another patch that converts the signal handlers of the Editable > object to the new style (that is, using the "on" and "after" > combinators). > > I have kept the original documentation, updating the function names as > needed, and moved the old functions to a deprecated section. I have > also updated the example code given in the documentation of the > insertText signal so that it matches the new functions, although I have > not tested it. > > This patch also contains minor style improvements to the entryIconPress > and entryIconRelease signal handlers that I submitted a few days ago. > The code is more compact while remaining clear, and matches what I have > done here in Editable for the insertText signal. > > Cheers, > Maxime I have just stumbled upon parts of the gtk2hs code that wrap deprecated code inside an #ifdef DISABLE_DEPRECATED directive, so here is a subsequent patch that also does that for the Editable functions I just deprecated. Cheers, Maxime |