GTK2 & Cairo "Quartz" Variant
Cédric Luthi
cedric.luthi at epfl.ch
Tue Mar 27 08:53:09 PDT 2007
On 27 mars 07, at 17:37, Adam Mercer wrote:
> I've also ran into this problem, does anyone have a solution or is it
> just a case of waiting for gtk2 to be fixed upstream?
This is the solution:
--- gdk/quartz/gdkdrawable-quartz.c 2007-03-23 22:52:59.000000000 +0100
+++ gdk/quartz/gdkdrawable-quartz.c 2007-03-23 22:58:26.000000000 +0100
@@ -61,7 +61,7 @@
gdk_drawable_get_size (drawable, &width, &height);
- surface = cairo_quartz_surface_create (context, width, height, TRUE);
+ surface = cairo_quartz_surface_create_for_cg_context (context,
width, height);
info = g_new (SurfaceInfo, 1);
info->drawable = drawable;
I think this is going to be fixed upstream (maybe it's even already
fixed in cvs).
But as I already told on this thread, gtk2+quartz is not usable. It's
not even beta, it's a just a preview.
Cheers,
Cédric
More information about the macports-users
mailing list