diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c index 6871f955ca..4be1f5aaf6 100644 --- a/gdk/quartz/gdkwindow-quartz.c +++ b/gdk/quartz/gdkwindow-quartz.c @@ -292,7 +292,7 @@ gdk_window_impl_quartz_begin_paint_region (GdkPaintable *paintable, } gdk_cairo_set_source_pixmap (cr, bg_pixmap, x_offset, y_offset); - cairo_set_extend (cairo_get_source (cr), CAIRO_EXTEND_REPEAT); + cairo_pattern_set_extend (cairo_get_source (cr), CAIRO_EXTEND_REPEAT); } /* Can use cairo_paint() here, we clipped above */