
On Mon, Mar 5, 2012 at 12:51, Johan Holmquist
Checked the code at http://code.haskell.org/gtk2hs/glib/System/Glib/hsgclosure.c and it is obviously fixed. I don't know why it didn't work from the community or ghc74 repositories (maybe I did a mistake somewhere).
Since it looks like you're looking at the upstream source repo it could be that they haven't released a fixed version yet. In putting together [ghc74] I had to make some minor changes to some of the gtk2-related packages in order to make them compile. At the time those changes were already in upstream, but no version with those changes had been released yet.
I will try to fetch the source for haskell-glib with abs from [ghc74] when I get home to see if it has the correct (?) code or the faulty one. Still it is (was yesterday) faulty in [community]. I'll check that again and provide a bug report if necessary.
Both [community] and [ghc74] are built from the versions available on Hackage. I believe both are unpatched, so you can just check the version on Hackage. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus