Bug 622333 - Crash in gdk_window_impl_quartz_begin_paint_region

This commit is contained in:
John Ralls 2010-06-26 18:17:30 +02:00 committed by Kristian Rietveld
parent 9f5f47f8be
commit 093a867e51

View File

@ -252,6 +252,9 @@ gdk_window_impl_quartz_begin_paint_region (GdkPaintable *paintable,
gdk_region_get_rectangles (clipped_and_offset_region, &rects, &n_rects); gdk_region_get_rectangles (clipped_and_offset_region, &rects, &n_rects);
if (n_rects == 0)
goto done;
if (bg_pixmap == NULL) if (bg_pixmap == NULL)
{ {
CGContextRef cg_context; CGContextRef cg_context;