[gtk+] Fix typos in Cairo region conversion so that Quartz actually compiles



commit 1564d8922a9ff2b4cd3ba41b098037ae8a0a9cc5
Author: Kristian Rietveld <kris gtk org>
Date:   Wed Jun 30 11:10:29 2010 +0200

    Fix typos in Cairo region conversion so that Quartz actually compiles

 gdk/quartz/gdkwindow-quartz.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 493d22d..815a3b5 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]