[gtk+/gtk-2-24] Bug 659907 - gdk_quartz_draw_opaque_stippled_pattern crashes



commit 33154e1c7d2bc9f2faa3cc96cf7c910cb0418f82
Author: Steffen Gutmann <muibase yahoo com>
Date:   Fri Sep 23 09:01:44 2011 +0200

    Bug 659907 - gdk_quartz_draw_opaque_stippled_pattern crashes

 gdk/quartz/gdkgc-quartz.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/quartz/gdkgc-quartz.c b/gdk/quartz/gdkgc-quartz.c
index d922154..cfdde77 100644
--- a/gdk/quartz/gdkgc-quartz.c
+++ b/gdk/quartz/gdkgc-quartz.c
@@ -426,7 +426,7 @@ gdk_quartz_draw_opaque_stippled_pattern (void         *info,
   CGContextFillRect (context, rect);
 
   CGContextClipToMask (context, rect, pattern_image);
-  color = _gdk_quartz_colormap_get_cgcolor_from_pixel (info,
+  color = _gdk_quartz_colormap_get_cgcolor_from_pixel (pinfo->drawable,
                                                        _gdk_gc_get_fg_pixel (gc));
   CGContextSetFillColorWithColor (context, color);
   CGColorRelease (color);



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