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. -- Colin Adams Preston Lancashire ------------------------------------------------------------------------- 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