Again, for the record: there is a big difference between makeGObject and constructGObject! See below.
On Oct 21, 2010, at 23:38, Axel Simon wrote: > > On Oct 21, 2010, at 19:21, Andy Stewart wrote: > >> diffing dir... >> Thu Oct 21 13:04:44 EDT 2010 Andy Stewart >> <lazycat.mana...@gmail.com> >> * Restore makeNewGObject for mkTextMark. From TextMark's Hierarchy, >> it should use wrapNewGObject, but after test, wrapNewGObject will >> finalized TextMark too early to crash program. >> Ignore-this: fb20a28ef97c18386eb3a98d64975a9e >> { >> hunk ./gtk/Graphics/UI/Gtk/Multiline/TextBuffer.chs 616 >> - wrapNewGObject mkTextMark $ >> + makeNewGObject mkTextMark $ >> hunk ./gtk/Graphics/UI/Gtk/Multiline/TextMark.chs 121 >> - wrapNewGObject mkTextMark $ >> + makeNewGObject mkTextMark $ >> } >> > > makeNewGObject is used for existing objects. These always need to be > ref'd once. Only new objects that may use constructGObject or > wrapNewGObject! > > Axel > >> ------------------------------------------------------------------------------ >> Nokia and AT&T present the 2010 Calling All Innovators-North America >> contest >> Create new apps & games for the Nokia N8 for consumers in U.S. and >> Canada >> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in >> marketing >> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi >> Store >> http://p.sf.net/sfu/nokia-dev2dev >> _______________________________________________ >> Gtk2hs-commit mailing list >> gtk2hs-com...@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gtk2hs-commit > > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America > contest > Create new apps & games for the Nokia N8 for consumers in U.S. and > Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in > marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi > Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Gtk2hs-commit mailing list > gtk2hs-com...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gtk2hs-commit ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel