On Mon, 2008-12-01 at 20:10 +0000, Colin Paul Adams wrote:
> In order to get the svgviewer program in demo/svg to compile with ghc
> 6.10.1 I had to add the following line to SvgViewer.hs (darcs version):
> 
> import Graphics.UI.Gtk.Gdk.Events
> 
> The demo seems unchanged code from 0.9.13, which compiles fine with
> ghc 6.8.3.
> 
> I don't understand why the additional import is needed (I hadn't
> probed enough perhaps - all I did was to search for the module that
> defined type Event with a data constructor of Expose, and added an
> import for it.

The reason is that I've deprecated Events in favour of EventM. I thought
I fixed all modules using Events but obviously I didn't. I will amend
this before the release.

Thanks for the report,
Axel.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to