On 13/05/2010 15:41, Axel Simon wrote:
> Hi Simon,
>
> On 13.05.2010, at 16:24, Simon Marlow wrote:
>
>> I recently compiled gtk2hs from the new Cabal packages (which worked
>> great, well done folks!). However, when compiling ThreadScope against
>> the new gtk2hs, I noticed that some things from Graphics.UI.Gtk.Gdk.GC
>> are no longer exported by Graphics.UI.Gtk, namely GC and gcNew.
>>
>> Is this intentional?
>
> Well, yes. New programs should preferably use Cairo to render stuff,
> although there will be occasions when the plain unaliased drawing is
> more adequate. Graphics Contexts are still there, but I think not
> exporting them by default is good because a lot of very general names
> are defined in module GC. You should be able to add in import statement
> for the GC module and make ThreadScope compile against older versions as
> well.
>
> Is this acceptable?

Sure, that's fine.  Just wanted to make sure it wasn't an accidental 
change.  I think the code in question dates back to an older prototype 
of ThreadScope before it was ported to Cairo.

Cheers, 
        Simno

------------------------------------------------------------------------------

_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to