Hi Malte, On Apr 7, 2010, at 22:24, Malte Sommerkorn wrote:
> Axel Simon: >> this is a first announcement of cabal packages for Gtk2Hs. This is >> meant for all those who can spare five minutes to check the packages >> and to improve them. > > This is not a pressing issue, but: I noticed that in the cairo > binding, you > changed some occurences of withUTFString by withCString - > presumably, to get > rid of the Glib dependency. I think that, when marshalling as > Strings, the > original behaviour is the better one, and the behaviour achieved > through the > use of withCString would better fit on a ByteString variant. > > Arguably, withUTF8String could be factored out of glib. (Where to?) Yes, you're right. I'm being lazy here. I guess I could make cairo depend on the utf8 package. Or, even cruder, I could just copy the two functions into the corresponding cairo modules -- converting from utf8 is not that hard. The affected functions only concern the "toy" text functions of cairo. Still, point taken. Axel. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel