]> Pileus Git - ~andy/gtk/commitdiff
quartz: make it compile
authorKristian Rietveld <kris@gtk.org>
Thu, 12 Aug 2010 08:57:59 +0000 (10:57 +0200)
committerKristian Rietveld <kris@gtk.org>
Thu, 12 Aug 2010 08:57:59 +0000 (10:57 +0200)
gdk/quartz/gdkwindow-quartz.c

index 6871f955ca4af41382169bde9a16f4e8e0a6c400..4be1f5aaf684d0e39ce01fd079c4b58390dc87ce 100644 (file)
@@ -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 */