From: Duncan C. <dun...@us...> - 2005-02-27 19:42:16
|
Update of /cvsroot/gtk2hs/gtk2hs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32363 Modified Files: ChangeLog Log Message: GObject.chs.pp: change mkDestructor into mkFunPtrDestructor which is a tad more abstract (hiding the use of IORefs). General.chs: change use of mkDestructor to mkFunPtrDestructor and no longer export mkDestructor. EntryCompletion.chs.pp, TreeSelection.chs.pp, TreeView.chs.pp: change use of mkDestructor to mkFunPtrDestructor. Signal.chs-boot2: Following the same pattern for GClosureNotify as for GDestroyNotify above define a local copy of mkFunPtrDestructor for use in signal connection functions. HookGenerator.hs: change use of mkDestructor to mkFunPtrDestructor following the same pattern as before. This reduces code duplication a bit (saves about 350 lines of code). Index: ChangeLog =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/ChangeLog,v retrieving revision 1.372 retrieving revision 1.373 diff -u -d -r1.372 -r1.373 --- ChangeLog 26 Feb 2005 02:54:34 -0000 1.372 +++ ChangeLog 27 Feb 2005 19:42:05 -0000 1.373 @@ -1,3 +1,25 @@ +2005-02-27 Duncan Coutts <du...@co...> + + * glib/System/Glib/GObject.chs.pp: change mkDestructor into + mkFunPtrDestructor which is a tad more abstract (hiding the use of + IORefs). Also this reduces the amount of code in client modules. + + * gtk/Graphics/UI/Gtk/General/General.chs: change use of mkDestructor + to mkFunPtrDestructor and no longer export mkDestructor. + + * gtk/Graphics/UI/Gtk/Entry/EntryCompletion.chs.pp, + gtk/Graphics/UI/Gtk/TreeList/TreeSelection.chs.pp, + gtk/Graphics/UI/Gtk/TreeList/TreeView.chs.pp: change use of + mkDestructor to mkFunPtrDestructor. + + * tools/callbackGen/Signal.chs-boot2: Following the same pattern for + GClosureNotify as for GDestroyNotify above define a local copy of + mkFunPtrDestructor for use in signal connection functions. + + * tools/callbackGen/HookGenerator.hs: change use of mkDestructor to + mkFunPtrDestructor following the same pattern as before. This reduces + code duplication a bit (saves about 350 lines of code). + 2005-02-26 Duncan Coutts <du...@co...> * tools/callbackGen/Signal.chs-boot1: add #hide Haddock annotation so |