Fix typos in Cairo region conversion so that Quartz actually compiles

This commit is contained in:
Kristian Rietveld 2010-06-30 11:10:29 +02:00
parent 53fbf2a30a
commit 1564d8922a

View File

@ -132,7 +132,7 @@ gdk_window_impl_quartz_get_context (GdkDrawable *drawable,
cg_rects[i].size.height = cairo_rect.height; cg_rects[i].size.height = cairo_rect.height;
} }
CGContextClipToRects (context, cg_rects, n_rects); CGContextClipToRects (cg_context, cg_rects, n_rects);
if (cg_rects != &rect) if (cg_rects != &rect)
g_free (cg_rects); g_free (cg_rects);
@ -289,7 +289,7 @@ gdk_window_impl_quartz_begin_paint_region (GdkPaintable *paintable,
int x, y; int x, y;
int x_offset, y_offset; int x_offset, y_offset;
int width, height; int width, height;
cairo_int_rectangle_t rect; cairo_rectangle_int_t rect;
GdkGC *gc; GdkGC *gc;
x_offset = y_offset = 0; x_offset = y_offset = 0;