1 | --- gdk/quartz/gdkdrawable-quartz.c.orig 2007-06-20 13:17:03.000000000 -0400 |
---|
2 | +++ gdk/quartz/gdkdrawable-quartz.c 2007-06-20 12:17:36.000000000 -0400 |
---|
3 | @@ -61,7 +61,14 @@ |
---|
4 | |
---|
5 | gdk_drawable_get_size (drawable, &width, &height); |
---|
6 | |
---|
7 | +/* |
---|
8 | + * Might be able to take this back as far as 1.4.2. |
---|
9 | + */ |
---|
10 | +#if (CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,4,8)) |
---|
11 | + surface = cairo_quartz_surface_create_for_cg_context (context, width, height); |
---|
12 | +#else |
---|
13 | surface = cairo_quartz_surface_create (context, width, height, TRUE); |
---|
14 | +#endif |
---|
15 | |
---|
16 | info = g_new (SurfaceInfo, 1); |
---|
17 | info->drawable = drawable; |
---|