Re: [Gtk2hs-devel] Experimental Gtk 3 support in Leksah

2012-11-29 Thread Hamish Mackenzie
It looks like I failed to attach the gtksourceview patches twice. Here is a link to them instead... http://leksah.org/gtksourceview3.patches On 19 Nov 2012, at 21:10, Magicloud wrote: > Sorry, my mistake. I did not upgrade build tools. > Also, I do not seem to be able to find the patches to gt

Re: [Gtk2hs-devel] Experimental Gtk 3 support in Leksah

2012-11-19 Thread John Lato
Are you using ghc-7.6? Those look very similar to the sorts of errors I fixed when making gtk2hs ghc-7.6 compatible. Probably some of the bindings for gtk3 functions would also need to be adjusted. You can try 7.4, or you can look at this patch from the gtk2hs repo: John L. Wed Sep 26 08:54:09

Re: [Gtk2hs-devel] Experimental Gtk 3 support in Leksah

2012-11-19 Thread Magicloud
Sorry, my mistake. I did not upgrade build tools. Also, I do not seem to be able to find the patches to gtksourceview in that link. 在 2012年11月19日星期一UTC+8下午4时00分55秒,Magicloud写道: > > Finally I found a gtk3 patch to gtk2hs. Thank you for the work. > But when I was trying to install it, I got these e

Re: [Gtk2hs-devel] Experimental Gtk 3 support in Leksah

2012-11-19 Thread Magicloud
Finally I found a gtk3 patch to gtk2hs. Thank you for the work. But when I was trying to install it, I got these errors: Graphics/UI/Gtk/Printing/PrintOperation.chs:409:6: Couldn't match expected type `Ptr ()' with actual type `Window' In the return type of a call of `toWindow' In the t

[Gtk2hs-devel] Experimental Gtk 3 support in Leksah

2012-10-07 Thread Hamish Mackenzie
I have managed to get Leksah working with Gtk 3. I have uploaded the patched Gtk2Hs to patch-tag (including Peter's patches and some new ones). Unfortunately the gtksourceview repo is still darcs-1 so I did not think it was a good idea. Fun new features in Leksah are "View->Dark" mode switch, to