From: Duncan C. <dun...@wo...> - 2006-03-31 09:39:11
|
On Fri, 2006-03-31 at 10:24 +0100, Chris Kuklewicz wrote: > Hi, > > I am getting a reference count error at runtime with gtk2hs/cairo 0.9.10.1 > with gtk 2.8.10 and ghc 6.4.1 on Mac OS X. I am running under ghci. > Also, Does anyone have an idiom to support what I am trying to do? You could try save/restore. That will save the current graphics state (including the pattern/colour), allow you to draw with some different state and then restore to the original state. This is a common and recommended style. However the other thing is indeed a bug and we'll look into it. Hmm, maybe we do need a bug tracker... Duncan |