Commit 1564d892 authored by Kristian Rietveld's avatar Kristian Rietveld
Browse files

Fix typos in Cairo region conversion so that Quartz actually compiles

parent 53fbf2a3
......@@ -132,7 +132,7 @@ gdk_window_impl_quartz_get_context (GdkDrawable *drawable,
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)
g_free (cg_rects);
......@@ -289,7 +289,7 @@ gdk_window_impl_quartz_begin_paint_region (GdkPaintable *paintable,
int x, y;
int x_offset, y_offset;
int width, height;
cairo_int_rectangle_t rect;
cairo_rectangle_int_t rect;
GdkGC *gc;
x_offset = y_offset = 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment